[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Parameter.-ctor

Parameter Constructor

Parameter(FunctionValueType)

Initializes an instance of a parameter.

Declaration
public Parameter(FunctionValueType valueType)
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)
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)
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)
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)
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)
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)
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)
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.