Parses the supplied enum and string value to find an associated enum value (case sensitive).
Namespace: CTCT.UtilAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
public static Object Parse(
Type type,
string stringValue
)
public static Object Parse(
Type type,
string stringValue
)
Public Shared Function Parse ( _
type As Type, _
stringValue As String _
) As Object
Public Shared Function Parse ( _
type As Type, _
stringValue As String _
) As Object
public:
static Object^ Parse(
Type^ type,
String^ stringValue
)
public:
static Object^ Parse(
Type^ type,
String^ stringValue
)
static member Parse :
type : Type *
stringValue : string -> Object
static member Parse :
type : Type *
stringValue : string -> Object
Parameters
- type
- Type: System Type
Type.
- stringValue
- Type: System String
String value.
Return Value
Enum value associated with the string value, or null if not found.