UDT

Note

This article applies to Visual Studio 2015. 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

Each class, structure, and union is identified by a SymTagUDT symbol. Each member, function, data, or nested type, and each base class, appears as a class child of the user-defined type (UDT).

Properties

The following table shows additional valid properties for this symbol type.

Property Data type Description
IDiaSymbol::get_classParent IDiaSymbol* Symbol for the class parent, if any.
IDiaSymbol::get_classParentId DWORD ID of the class parent symbol.
IDiaSymbol::get_constructor BOOL TRUE if the UDT has a constructor.
IDiaSymbol::get_constType BOOL TRUE if the UDT is marked as constant.
IDiaSymbol::get_hasAssignmentOperator BOOL TRUE if the UDT has any assignment operators defined.
IDiaSymbol::get_hasCastOperator BOOL TRUE if the UDT has any cast operators defined.
IDiaSymbol::get_hasNestedTypes BOOL TRUE if the UDT has nested type definitions.
IDiaSymbol::get_length LONGLONG The size, in bytes, of the UDT.
IDiaSymbol::get_lexicalParent IDiaSymbol* Symbol of the enclosing Compiland.
IDiaSymbol::get_lexicalParentId DWORD ID of the lexical parent symbol.
IDiaSymbol::get_name BSTR The name of the UDT.
IDiaSymbol::get_nested BOOL TRUE if the UDT is nested.
IDiaSymbol::get_overloadedOperator BOOL TRUE if overloaded operators are defined for the UDT.
IDiaSymbol::get_packed BOOL TRUE if the UDT is packed.
IDiaSymbol::get_scoped BOOL TRUE if the UDT appears in a nonglobal lexical scope.
IDiaSymbol::get_symIndexId DWORD Index ID of symbol.
IDiaSymbol::get_symTag DWORD Returns SymTagUDT (one of the SymTagEnum Enumeration values).
IDiaSymbol::get_udtKind DWORD Indicates whether this is a structure, class, or union; for details, see UdtKind Enumeration.
IDiaSymbol::get_unalignedType BOOL TRUE if the UDT is unaligned.
IDiaSymbol::get_virtualTableShape IDiaSymbol* The type of the virtual table.
IDiaSymbol::get_virtualTableShapeId DWORD ID of the virtual table shape symbol.
IDiaSymbol::get_volatileType BOOL TRUE if the UDT is marked as volatile.

See Also

Class Hierarchy of Symbol Types