Freigeben über


IDebugMethodField::EnumStaticLocals

Creates an enumerator for static local variables of the method.

HRESULT EnumStaticLocals( 
   IEnumDebugFields** ppLocals
);
int EnumStaticLocals(
   out IEnumDebugFields ppLocals
);

Parameters

  • ppLocals
    [out] Returns an IEnumDebugFields object representing the list of static locals. Returns a null value if there are no static locals.

Return Value

If successful, returns S_OK or returns S_FALSE if there are no static locals. Otherwise, returns an error code.

Remarks

Each element is an IDebugField object representing different types of static locals. Call the IDebugField::GetKind method on each object to determine exactly what kind of static local the object represents.

See Also

Reference

IDebugMethodField

IEnumDebugFields

IDebugField