Méthode | Description | |
---|---|---|
GetListValues ( ) : IList |
Gets the values as a 'bindable' list datasource.
|
|
GetStringValue ( |
Gets a string value for a particular enum value.
|
|
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.
|
|
StringEnum ( |
Creates a new StringEnum instance.
|
public static GetStringValue ( |
||
value | Value. | |
Résultat | string |
public GetStringValue ( string valueName ) : string | ||
valueName | string | Name of the enum value. |
Résultat | string |
public static IsStringDefined ( |
||
enumType | Type of enum | |
stringValue | string | String value. |
Résultat | 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 |
Résultat | bool |
public IsStringDefined ( string stringValue ) : bool | ||
stringValue | string | String value. |
Résultat | 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 |
Résultat | bool |
public static Parse ( |
||
type | Type. | |
stringValue | string | String value. |
Résultat | 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 |
Résultat | object |
public StringEnum ( |
||
enumType | Enum type. | |
Résultat | System |