Spread WPF 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 (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.