StringEnum IsStringDefined Method (Type, String, Boolean) CTCT Wrapper Documented Class Library
Return the existence of the given string value within the enum.

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

public static bool IsStringDefined(
	Type enumType,
	string stringValue,
	bool ignoreCase
)

Parameters

enumType
Type: System Type
Type of enum
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

Existence of the string value
See Also