IDiaSymbol::get_restrictedType

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 this pointer is flagged as restricted.

Syntax

HRESULT get_restrictedType(
   BOOL* pRetVal);

Parameters

pRetVal

[out] A pointer to a BOOL that specifies whether the this pointer is flagged as restricted.

Return Value

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

See also