Share via


IDebugMethodField::EnumParameters

Creates an enumerator for the parameters of the method.

HRESULT EnumParameters( 
   IEnumDebugFields** ppParams
);
int EnumParameters(
   out IEnumDebugFields ppParams
);

Parameters

  • ppParams
    [out] Returns an IEnumDebugFields object representing the list of parameters to the method; otherwise, returns a null value if there are no parameters.

Return Value

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

Remarks

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

A parameter includes both its variable name and its type. The first parameter to a class method is typically the "this" pointer.

If only the types of the parameters is needed, call the IDebugMethodField::EnumArguments method.

See Also

Reference

IDebugMethodField

IEnumDebugFields

IDebugField

IDebugMethodField::EnumArguments