{CompanyName} FlexyGo

StringEnum..::..Parse Method (Type, String, Boolean)

Parses the supplied enum and string value to find an associated enum value.

Namespace:  FLEXYGO.Utilities.General
Assembly:  flxUtilities (in flxUtilities.dll)

Syntax


public static Object Parse(
	Type type,
	string stringValue,
	bool ignoreCase
)
Public Shared Function Parse ( _
	type As Type, _
	stringValue As String, _
	ignoreCase As Boolean _
) As Object

Parameters

type
Type: Type
Type.
stringValue
Type: String
String value.
ignoreCase
Type: 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.