Метод | Описание | |
---|---|---|
DisplayVal ( |
||
GetDisplayValues ( ) : |
||
GetListValues ( ) : IList |
Gets the values as a 'bindable' list datasource.
|
|
GetStringValue ( string valueName ) : string |
Gets the string value associated with the given enum value.
|
|
GetStringValues ( ) : |
Gets the string values associated with the enum.
|
|
IsStringDefined ( |
Return the existence of the given string value within the enum.
|
|
IsStringDefined ( |
Return the existence of the given string value within the enum.
|
|
IsStringDefined ( string stringValue ) : bool |
Return the existence of the given string value within the enum.
|
|
IsStringDefined ( string stringValue, bool ignoreCase ) : bool |
Return the existence of the given string value within the enum.
|
|
Parse ( |
Parses the supplied enum and string value to find an associated enum value (case sensitive).
|
|
Parse ( |
Parses the supplied enum and string value to find an associated enum value.
|
|
StrVal ( |
Gets a string value for a particular enum value.
|
|
StringEnum ( |
Creates a new StringEnum instance.
|
public static DisplayVal ( |
||
value | ||
Результат | string |
public GetStringValue ( string valueName ) : string | ||
valueName | string | Name of the enum value. |
Результат | string |
public static IsStringDefined ( |
||
enumType | Type of enum | |
stringValue | string | String value. |
Результат | bool |
public static IsStringDefined ( |
||
enumType | Type of enum | |
stringValue | string | String value. |
ignoreCase | bool | Denotes whether to conduct a case-insensitive match on the supplied string value |
Результат | bool |
public IsStringDefined ( string stringValue ) : bool | ||
stringValue | string | String value. |
Результат | bool |
public IsStringDefined ( string stringValue, bool ignoreCase ) : bool | ||
stringValue | string | String value. |
ignoreCase | bool | Denotes whether to conduct a case-insensitive match on the supplied string value |
Результат | bool |
public static Parse ( |
||
type | Type. | |
stringValue | string | String value. |
Результат | object |
public static Parse ( |
||
type | Type. | |
stringValue | string | String value. |
ignoreCase | bool | Denotes whether to conduct a case-insensitive match on the supplied string value |
Результат | object |
public static StrVal ( |
||
value | Value. | |
Результат | string |
public StringEnum ( |
||
enumType | Enum type. | |
Результат | System |