IDebugObject2::GetField

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

Gets the type of this object.

Syntax

HRESULT GetField(
 IDebugField** ppField
);
int GetField(
   out IDebugField ppField
);

Parameters

ppField
[out] Returns an IDebugField object if not a null value.

Return Value

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

Remarks

A field describes the type of the object.

See also