Class: MetadataEnumValue

MetadataEnumValue

new MetadataEnumValue(options)

A metadata enum value.

Name Type Description
options object

Object with the following properties:

Name Type Description
value number

The integer value.

name string

The name of the enum value.

description string 可选

The description of the enum value.

extras * 可选

Extra user-defined properties.

extensions object 可选

An object containing extensions.

Members

readonly descriptionstring

The description of the enum value.

readonly extensionsobject

An object containing extensions.

readonly extras*

Extra user-defined properties.

readonly namestring

The name of the enum value.

readonly valuenumber

The integer value.