Click or drag to resize
DigitalRuneEnumHelperTryParseT Method
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.

Namespace: DigitalRune
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static bool TryParse<T>(
	string text,
	bool ignoreCase,
	out T value
)

Parameters

text
Type: SystemString
The string representation of the name or numeric value.
ignoreCase
Type: SystemBoolean
If set to ignore case; otherwise, regard case.
value
Type: T
The converted enumeration value.

Type Parameters

T
The type of enumeration.

Return Value

Type: Boolean
if the string was converted successfully; otherwise, .
See Also