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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : pendant toute l’année 2024, nous allons éliminer progressivement Problèmes GitHub comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, voir :Soumettre et afficher des commentaires pour