Edit

Share via


IDebugMethodField::GetGlobalContainer

Gets the global container of the method.

Syntax

int GetGlobalContainer(
   out IDebugClassField ppClass
);

Parameters

ppClass
[out] Returns an IDebugClassField representing the module in which this method is defined.

Return Value

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

Remarks

The returned IDebugClassField object represents the entire module and is an artificial object, that is, the module itself does not have an actual class but it can be represented by an IDebugClassField object, allowing the various elements of the module to be enumerated and discovered.

See also