Skip to main content

IMetamodels.GetEnum method

Namespace: NextDesign.Core

Description

Gets the enum with the specified name.
If multiple enums with the same name are defined, returns the first enum found in definition order.

argument

NameTypeDescription
enumNamestringenum type name
fuzzyboolFuzzy match?
The default is true.
If false is specified for fuzzy, enum names are evaluated as fully qualified names.
If an enum with the same name exists, you can get the expected enum by specifying false for fuzzy and specifying the fully qualified name for enumName.

Return value