Spread Silverlight Documentation
GetCustomName Method (Worksheet)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : GetCustomName Method
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())
See Also

Reference

Worksheet Class
Worksheet Members