[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Parameter.-ctor

Parameter Constructor

Parameter(FunctionValueType)

初始化参数的实例。

Declaration
public Parameter(FunctionValueType valueType)
Parameters
Type Name Description
FunctionValueType valueType

参数的值类型。

Parameter(FunctionValueType, bool)

初始化参数的实例。

Declaration
public Parameter(FunctionValueType valueType, bool acceptReference)
Parameters
Type Name Description
FunctionValueType valueType

参数的值类型。

bool acceptReference

此参数是否可以接受引用。

Parameter(FunctionValueType, bool, bool)

初始化参数的实例。

Declaration
public Parameter(FunctionValueType valueType, bool acceptReference, bool acceptCustomObjects)
Parameters
Type Name Description
FunctionValueType valueType

参数的值类型。

bool acceptReference

如果此参数可以接受引用。

bool acceptCustomObjects

如果值类型是Object ,则接受自定义对象。

Parameter(FunctionValueType, object)

初始化参数的实例。

Declaration
public Parameter(FunctionValueType valueType, object defaultValue)
Parameters
Type Name Description
FunctionValueType valueType

参数的值类型。

object defaultValue

参数的默认值。

Parameter(FunctionValueType, object, bool)

初始化参数的实例。

Declaration
public Parameter(FunctionValueType valueType, object defaultValue, bool acceptReference)
Parameters
Type Name Description
FunctionValueType valueType

参数的值类型。

object defaultValue

参数的默认值。

bool acceptReference

如果此参数可以接受引用。

Parameter(string, string, FunctionValueType, object)

初始化参数的实例。

Declaration
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue)
Parameters
Type Name Description
string name

参数的名称。

string description

参数的描述。

FunctionValueType valueType

参数的值类型。

object defaultValue

参数的默认值。

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

初始化参数的实例。

Declaration
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference)
Parameters
Type Name Description
string name

函数的名称。

string description

参数的描述。

FunctionValueType valueType

参数的值类型。

object defaultValue

参数的默认值。

bool acceptReference

如果此参数可以接受引用。

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

初始化参数的实例。

Declaration
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference, bool acceptCustomObjects)
Parameters
Type Name Description
string name

函数的名称。

string description

参数的描述。

FunctionValueType valueType

参数的值类型。

object defaultValue

参数的默认值。

bool acceptReference

如果此参数可以接受引用。

bool acceptCustomObjects

如果值类型是Object ,则接受自定义对象。