[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Localization.LanguagePackage.GetArgumentName

GetArgumentName Method

GetArgumentName(Function, int, int, int)

Gets the parameter name of the specified function.

Declaration
public virtual string GetArgumentName(Function function, int index, int argCount, int overload = 0)
Public Overridable Function GetArgumentName([function] As [Function], index As Integer, argCount As Integer, Optional overload As Integer = 0) As String
Parameters
Type Name Description
Function function

The function to extract parameter name.

int index

An integer value indicates the parameter's position.

int argCount

The total number of current passed arguments.

int overload

An integer value indicates the order of function overload.

Returns
Type Description
string

A string value represents the parameter name.

GetArgumentName(string, int)

Gets name of the parameter.

Declaration
protected virtual string GetArgumentName(string name, int index = -1)
Protected Overridable Function GetArgumentName(name As String, Optional index As Integer = -1) As String
Parameters
Type Name Description
string name

Name of the parameter in English.

int index

An integer value indicates the parameter's position.

Returns
Type Description
string

The localized name of the parameter.

GetArgumentName(ValueType, int)

Gets the parameter name for the specified value type.

Declaration
public virtual string GetArgumentName(ValueType type, int index = -1)
Public Overridable Function GetArgumentName(type As ValueType, Optional index As Integer = -1) As String
Parameters
Type Name Description
ValueType type

A ValueType value indicates the type of the parameter value.

int index

An integer value indicates the parameter's position.

Returns
Type Description
string

The parameter name for the specified value type.