StringEnum Parse Method (Type, String, Boolean) CTCT Wrapper Documented Class Library
Parses the supplied enum and string value to find an associated enum value.

Namespace: CTCT.Util
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public static Object Parse(
	Type type,
	string stringValue,
	bool ignoreCase
)

Parameters

type
Type: System Type
Type.
stringValue
Type: System String
String value.
ignoreCase
Type: System Boolean
Denotes whether to conduct a case-insensitive match on the supplied string value

Return Value

Enum value associated with the string value, or null if not found.
See Also