[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.AsyncCustomFunction.-ctor

AsyncCustomFunction Constructor

AsyncCustomFunction(string, FunctionValueType)

Initializes an instance of an async custom function.

Declaration
protected AsyncCustomFunction(string name, FunctionValueType result)
Protected Sub New(name As String, result As FunctionValueType)
Parameters
Type Name Description
string name

The name of the custom function.

FunctionValueType result

Specifies the return type for the custom function.

AsyncCustomFunction(string, FunctionValueType, Parameter[])

Initializes an instance of an async custom function.

Declaration
protected AsyncCustomFunction(string name, FunctionValueType result, Parameter[] parameters)
Protected Sub New(name As String, result As FunctionValueType, parameters As Parameter())
Parameters
Type Name Description
string name

The name of the custom function.

FunctionValueType result

Specifies the return type for the custom function.

Parameter[] parameters

Specifies the parameters for the custom function.

Exceptions
Type Condition
ArgumentException

if any parameter accepts a reference.

AsyncCustomFunction(string, string, FunctionValueType, Parameter[])

Initializes an instance of an async custom function.

Declaration
protected AsyncCustomFunction(string name, string description, FunctionValueType result, Parameter[] parameters)
Protected Sub New(name As String, description As String, result As FunctionValueType, parameters As Parameter())
Parameters
Type Name Description
string name

The name of the custom function. Must not be null or empty.

string description

The description of the custom function.

FunctionValueType result

Specifies the return type for the custom function.

Parameter[] parameters

Specifies the parameters for the custom function.

Exceptions
Type Condition
ArgumentException

if any parameter accepts a reference.