Compartir a través de


IDebugProperty2::GetReference

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

Returns a reference to the property's value.

Syntax

HRESULT GetReference(
   IDebugReference2** ppReference
);
int GetReference(
   out IDebugReference2 ppReference
);

Parameters

ppRererence
[out] Returns an IDebugReference2 object representing a reference to the property's value.

Return Value

If successful, returns S_OK; otherwise, returns an error code, typically E_NOTIMPL or E_GETREFERENCE_NO_REFERENCE.

See also