Click or drag to resize

StringEnumParse Method (Type, String, StringComparison)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Parses the supplied enum and string value to find an associated enum value.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public static Object Parse(
	Type type,
	string value,
	StringComparison comparisonType
)
Request Example View Source

Parameters

type
Type: SystemType
Type.
value
Type: SystemString
String value.
comparisonType
Type: SystemStringComparison
Specifies how to conduct a case-insensitive match on the supplied string value.

Return Value

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