[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Parameter.-ctor

Parameter Constructor

Parameter(FunctionValueType)

Initializes an instance of a parameter.

Declaration
public Parameter(FunctionValueType valueType)
Public Sub New(valueType As FunctionValueType)
Parameters
Type Name Description
FunctionValueType valueType

The value type of the parameter.

Parameter(FunctionValueType, bool)

Initializes an instance of a parameter.

Declaration
public Parameter(FunctionValueType valueType, bool acceptReference)
Public Sub New(valueType As FunctionValueType, acceptReference As Boolean)
Parameters
Type Name Description
FunctionValueType valueType

The value type of the parameter.

bool acceptReference

If this parameter can accept reference.

Parameter(FunctionValueType, bool, bool)

Initializes an instance of a parameter.

Declaration
public Parameter(FunctionValueType valueType, bool acceptReference, bool acceptCustomObjects)
Public Sub New(valueType As FunctionValueType, acceptReference As Boolean, acceptCustomObjects As Boolean)
Parameters
Type Name Description
FunctionValueType valueType

The value type of the parameter.

bool acceptReference

If this parameter can accept reference.

bool acceptCustomObjects

Accepts custom objects if value type is Object.

Parameter(FunctionValueType, object)

Initializes an instance of a parameter.

Declaration
public Parameter(FunctionValueType valueType, object defaultValue)
Public Sub New(valueType As FunctionValueType, defaultValue As Object)
Parameters
Type Name Description
FunctionValueType valueType

The value type of the parameter.

object defaultValue

The default value of the parameter.

Parameter(FunctionValueType, object, bool)

Initializes an instance of a parameter.

Declaration
public Parameter(FunctionValueType valueType, object defaultValue, bool acceptReference)
Public Sub New(valueType As FunctionValueType, defaultValue As Object, acceptReference As Boolean)
Parameters
Type Name Description
FunctionValueType valueType

The value type of the parameter.

object defaultValue

The default value of the parameter.

bool acceptReference

If this parameter can accept reference.

Parameter(string, string, FunctionValueType, object)

Initializes an instance of a parameter.

Declaration
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue)
Public Sub New(name As String, description As String, valueType As FunctionValueType, defaultValue As Object)
Parameters
Type Name Description
string name

The name of the parameter.

string description

The description of the parameter.

FunctionValueType valueType

The value type of the parameter.

object defaultValue

The default value of the parameter.

Parameter(string, string, FunctionValueType, object, bool)

Initializes an instance of a parameter.

Declaration
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference)
Public Sub New(name As String, description As String, valueType As FunctionValueType, defaultValue As Object, acceptReference As Boolean)
Parameters
Type Name Description
string name

The name of the function.

string description

The description of the parameter.

FunctionValueType valueType

The value type of the parameter.

object defaultValue

The default value of the parameter.

bool acceptReference

If this parameter can accept reference.

Parameter(string, string, FunctionValueType, object, bool, bool)

Initializes an instance of a parameter.

Declaration
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference, bool acceptCustomObjects)
Public Sub New(name As String, description As String, valueType As FunctionValueType, defaultValue As Object, acceptReference As Boolean, acceptCustomObjects As Boolean)
Parameters
Type Name Description
string name

The name of the function.

string description

The description of the parameter.

FunctionValueType valueType

The value type of the parameter.

object defaultValue

The default value of the parameter.

bool acceptReference

If this parameter can accept reference.

bool acceptCustomObjects

Accepts custom objects if value type is Object.