IDebugField::GetContainer

Applies to: yesVisual Studio noVisual Studio for Mac noVisual Studio Code

This method gets the container of a field.

Syntax

int GetContainer(
   out IDebugContainerField ppContainerField
);

Parameters

ppContainerField
[out] Returns the container as represented by the IDebugContainerField interface.

Return Value

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

Remarks

If this field does not have a container, the returned ppContainerField will be a null value.

See also