Click or drag to resize

PersistentSettingsConverterTryParseEnum Method (Type, String, String)

Converts an enum value string (integer as string) to a enum value name.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool TryParseEnum(
	Type type,
	string intValueAsString,
	out string value
)

Parameters

type
Type: SystemType
The enum type
intValueAsString
Type: SystemString
enum integer value as string
value
Type: SystemString
Output value, will be null on error

Return Value

Type: Boolean
Returns true if the the successfully converted or false if not.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also