Muokkaa

Jaa


IDebugCustomAttribute::GetParentField

Gets the field to which the custom attribute is attached.

Syntax

int GetParentField(
   out IDebugField ppField
);

Parameters

ppField
[out] Returns the IDebugField object that represents the field to which the custom attribute is attached.

Return Value

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

Remarks

Call the GetKind method on the returned IDebugField object to determine what kind of field the parent is.

See also