IDiaSymbol::get_symTag

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDiaSymbol::get_symTag.

Retrieves the symbol type classifier.

HRESULT get_symTag (   
   DWORD* pRetVal  
);  

Parameters

pRetVal
[out] Returns A value from the SymTagEnum Enumeration enumeration that specifies the symbol type classifier.

If successful, returns S_OK; otherwise, returns S_FALSE or an error code.

System_CAPS_ICON_note.jpg Note

A return value of S_FALSE means the property is not available for the symbol.

IDiaSymbol* pType;  
DWORD       tag = 0;  
pType->get_symTag( &tag );  

IDiaSymbol
SymTagEnum Enumeration

Show: