Enum (Debug Interface Access SDK)
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Enumerations are identified by SymTagEnum
symbols. Each enumeration value appears as a class child with a SymTagConstant
tag.
Properties
The following table shows additional valid properties for this symbol type.
Property | Data type | Description |
---|---|---|
IDiaSymbol::get_baseType | DWORD |
One of the BasicType Enumeration values. |
IDiaSymbol::get_classParent | IDiaSymbol* |
Class parent of this enumeration, if any. |
IDiaSymbol::get_classParentId | DWORD |
ID of the class parent symbol. |
IDiaSymbol::get_constructor | BOOL |
TRUE if the enumeration has a constructor. |
IDiaSymbol::get_constType | BOOL |
TRUE if the enumeration is marked as const. |
IDiaSymbol::get_hasAssignmentOperator | BOOL |
TRUE if the enumeration has an assignment operator. |
IDiaSymbol::get_hasCastOperator | BOOL |
TRUE if the enumeration has a cast operator. |
IDiaSymbol::get_hasNestedTypes | BOOL |
TRUE if the enumeration has nested types. |
IDiaSymbol::get_length | DWORD |
Length of this enumeration in bytes. |
IDiaSymbol::get_lexicalParent | IDiaSymbol* |
Symbol of the enclosing Compiland. |
IDiaSymbol::get_lexicalParentId | DWORD |
ID of the lexical parent symbol. |
IDiaSymbol::get_name | BSTR |
Name of the enumerated type. |
IDiaSymbol::get_nested | BOOL |
TRUE if the enumeration is nested. |
IDiaSymbol::get_overloadedOperator | BOOL |
TRUE if the enumeration has any overloaded operators. |
IDiaSymbol::get_packed | BOOL |
TRUE if the enumeration is packed. |
IDiaSymbol::get_scoped | BOOL |
TRUE if the enumeration appears in a nonglobal lexical scope. |
IDiaSymbol::get_symIndexId | DWORD |
Index ID of symbol. |
IDiaSymbol::get_symTag | DWORD |
Returns SymTagEnum (one of the SymTagEnum Enumeration values). |
IDiaSymbol::get_type | IDiaSymbol* |
Symbol for the underlying type. |
IDiaSymbol::get_typeId | DWORD |
ID of the type symbol. |
IDiaSymbol::get_unalignedType | BOOL |
TRUE if the enumeration is unaligned. |
IDiaSymbol::get_volatileType | BOOL |
TRUE if the enumeration is marked as volatile. |