IDiaSymbol::get_isOptimizedAway

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

Specifies whether the variable is optimized away.

Syntax

HRESULT get_isOptimizedAway(   
   BOOL* pRetVal);  

Parameters

pRetVal
[out] A pointer to a BOOL that specifies whether the variable is optimized away.

Return Value

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

See Also

IDiaSymbol