IDiaSymbol::get_hasManagedCode

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

Retrieves a flag indicating whether the module contains managed code.

Syntax

HRESULT get_hasManagedCode(  
   BOOL *pFlag  
);  

Parameters

pFlag
[out] Returns TRUE if the module contains managed code; otherwise, returns FALSE, the code is unmanaged code.

Return Value

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

Note

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

Remarks

This property is available from the SymTagCompilandDetails symbol type (see CompilandDetails).

Requirements

Requirement Description
Header: dia2.h
Version: DIA SDK v8.0

See Also

IDiaSymbol
CompilandDetails