new MetadataEnum(options)
A metadata enum.
| Name | Type | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Object with the following properties:
|
Members
-
readonly descriptionstring
-
The description of the enum.
-
readonly extensionsobject
-
An object containing extensions.
-
readonly extras*
-
Extra user-defined properties.
-
readonly idstring
-
The ID of the enum.
-
readonly namestring
-
The name of the enum.
-
readonly values
-
The enum values.
-
readonly valueType
-
The enum value type.