IDiaSymbol::get_isOptimizedAway

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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