메소드 | 설명 | |
---|---|---|
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 StringEnum ( |
||
enumType | Enum type. | |
리턴 | System |