Click or drag to resize

StringEnumIsStringDefined Method (Type, String, StringComparison)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Return the existence of the given string value within the enum.

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

Parameters

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

Return Value

Type: Boolean
Existence of the string value
See Also