Spread Silverlight Documentation
GetCustomFunction Method (Worksheet)
Example 


The name of the user-defined custom function.
Gets the specified user-defined custom function.
Syntax
'Declaration
 
Public Function GetCustomFunction( _
   ByVal name As System.String _
) As CalcFunction
'Usage
 
Dim instance As Worksheet
Dim name As System.String
Dim value As CalcFunction
 
value = instance.GetCustomFunction(name)
public CalcFunction GetCustomFunction( 
   System.string name
)

Parameters

name
The name of the user-defined custom function.

Return Value

The function.
Example
This example uses the GetCustomFunction method.
GrapeCity.CalcEngine.Functions.CalcFunction fi;
fi = gcSpreadSheet1.Sheets[0].GetCustomFunction("CUBE");
listBox1.Items.Add(fi.Name.ToString());
Dim fi As GrapeCity.CalcEngine.Functions.CalcFunction
fi = GcSpreadSheet1.Sheets(0).GetCustomFunction("CUBE")
ListBox1.Items.Add(fi.Name.ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.