Skip to main content

IMetamodels.GetEnum method

Namespace: NextDesign.Core

Description

Gets the enumeration with the specified name. If multiple enums with the same name are defined, the first enum found in the order of definition is returned.

argument

NameTypeDescription
enumNamestringenum name
fuzzyboolAmbiguous match
The default value is true.
If fuzzy is specified as false, the enumeration name is evaluated as a fully qualified name.
If the same name enumeration exists, you can get the expected enumeration by specifying false for fuzzy and the fully qualified name for enumName.

Return value