We recommend using Visual Studio 2017

IDiaSymbol::get_virtual

 

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_virtual.

Retrieves a flag that specifies whether the function is virtual.

HRESULT get_virtual (   
   BOOL* pRetVal  
);  

Parameters

pRetVal
[out] Returns TRUE if the function is virtual; otherwise, returns FALSE.

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

Show: