Enum Data Type
Version: Available or changed with runtime version 4.0.
Represents the text content of an element or attribute.
Static methods
The following methods are available on the Enum data type.
Method name | Description |
---|---|
FromInteger(Integer) | Returns an enum with the integer value |
Names() | Gets the value names |
Ordinals() | Gets the ordinal numbers/ID's for the values |
Instance methods
The following methods are available on instances of the Enum data type.
Method name | Description |
---|---|
AsInteger() | Get the enum value as an integer value. |
Names() | Gets the value names |
Ordinals() | Gets the ordinal numbers/ID's for the values |
Example
For more information, see Extensible Enums.
See Also
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de