Friend (Debug Interface Access SDK)

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

Friend classes and friend functions are identified by SymTagFriend symbols. They are children of parent user-defined types (UDTs) and have a IDiaSymbol::get_classParent property.

Properties

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

Property Data type Description
IDiaSymbol::get_classParent IDiaSymbol* Symbol for the UDT parent.
IDiaSymbol::get_classParentId DWORD ID of the class parent symbol.
IDiaSymbol::get_name BSTR Name of the class or function.
IDiaSymbol::get_symIndexId DWORD Index ID of symbol.
IDiaSymbol::get_symTag DWORD Returns SymTagFriend (one of the SymTagEnum Enumeration values).
IDiaSymbol::get_type IDiaSymbol* Symbol for the class or function.
IDiaSymbol::get_typeId DWORD ID of the type symbol.

See Also

Class Hierarchy of Symbol Types