[]
Gets the parameter name of the specified function.
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
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. |
Type | Description |
---|---|
string | A string value represents the parameter name. |
Gets name of the parameter.
protected virtual string GetArgumentName(string name, int index = -1)
Protected Overridable Function GetArgumentName(name As String, Optional index As Integer = -1) As String
Type | Name | Description |
---|---|---|
string | name | Name of the parameter in English. |
int | index | An integer value indicates the parameter's position. |
Type | Description |
---|---|
string | The localized name of the parameter. |
Gets the parameter name for the specified value type.
public virtual string GetArgumentName(ValueType type, int index = -1)
Public Overridable Function GetArgumentName(type As ValueType, Optional index As Integer = -1) As String
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. |
Type | Description |
---|---|
string | The parameter name for the specified value type. |