EnumTEnumIsDefined(String) Method

Gets whether value is defined in TEnum.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public static bool IsDefined(
	string value
)

Parameters

value  String
A string value representing a field name in the enumeration.

Return Value

Boolean
if TEnum has a defined field whose name equals value (search is case-sensitive); otherwise, .

Exceptions

See Also