SchemaView.Enumeration Class @beta
Lightweight view over an enumeration in a SchemaView.
Methods
| Name | Description | |
|---|---|---|
| getEnumerator(value: string | number): SchemaView.Enumerator | undefined | Find enumerator by value. | |
| getEnumeratorByName(name: string): SchemaView.Enumerator | undefined | Find enumerator by name (case-insensitive). | |
| getEnumerators(): IterableIterator<SchemaView.Enumerator> | Iterate enumerators in declaration order. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| description Accessor ReadOnly | string | ||
| ecInstanceId Accessor ReadOnly | number | Row ID from ec_Enumeration. | |
| fullName Accessor ReadOnly | string | "SchemaName:EnumName" - colon-separated. | |
| isStrict Accessor ReadOnly | boolean | ||
| label Accessor ReadOnly | string | ||
| name Accessor ReadOnly | string | ||
| primitiveType Accessor ReadOnly | SchemaViewPrimitiveType | ||
| schema Accessor ReadOnly | SchemaView.Schema |
Defined in
- ecschema-metadata/src/SchemaView.ts Line 890
Last Updated: 27 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.