Spread WPF Documentation
GetCustomName Method (Worksheet)
Example 


Finds the specified custom name.
Syntax
'Declaration
 
Public Function GetCustomName( _
   ByVal name As System.String _
) As NameInfo
'Usage
 
Dim instance As Worksheet
Dim name As System.String
Dim value As NameInfo
 
value = instance.GetCustomName(name)
public NameInfo GetCustomName( 
   System.string name
)

Parameters

name

Return Value

The NameInfo object of the specified custom name.
Example
This example uses the GetCustomName method.
gcSpreadSheet1.Sheets[0].SetCustomName("Test", 0, 0, new GrapeCity.CalcEngine.Expressions.CalcDoubleExpression(10));
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetCustomName("Test").Expression.ToString());
GcSpreadSheet1.Sheets(0).SetCustomName("Test", 0, 0, New GrapeCity.CalcEngine.Expressions.CalcDoubleExpression(10))
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetCustomName("Test").Expression.ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.