Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.63 KB

idebugobject2-getbackingfieldforproperty.md

File metadata and controls

49 lines (42 loc) · 1.63 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice dev_langs
Gets the field or variable (if any) that may be backing the property represented by this object.
IDebugObject2::GetBackingFieldForProperty
11/04/2016
reference
IDebugObject2::GetBackingFieldForProperty
IDebugObject2::GetBackingFieldForProperty method
maiak
maiak
mijacobs
debug-diagnostics
CPP
CSharp

IDebugObject2::GetBackingFieldForProperty

Gets the field or variable (if any) that may be backing the property represented by this object.

Syntax

int GetBackingFieldForProperty(
   out IDebugObject2 ppObject
);
HRESULT GetBackingFieldForProperty(
   IDebugObject2** ppObject
);

Parameters

ppObject
[out] An IDebugObject2 object describing the backing field.

Return Value

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

Remarks

The IDebugObject2 object represents a managed code class property, that is, a method with a get and/or set accessor. Such properties generally require a variable to contain the value manipulated by the property. This variable is known as the backing field. If there is no backing field for the object, then make sure to return a null value: some callers may not pay attention to the return value but will instead look to see if a null value was returned in ppObject.

See also