Compartilhar via


IDebugMethodField::EnumArguments

Creates an enumerator for the type of each argument required to call the method.

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

Parameters

  • ppParams
    [out] Returns an IEnumDebugFields object representing the list of argument types. Returns a null value if there are no arguments.

Return Value

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

Remarks

Each element is an IDebugField object representing the types of each parameter. Call the IDebugField::GetInfo method to retrieve information about the type of each parameter.

If the name of the parameter is needed along with the type, then call the IDebugMethodField::EnumParameters method.

See Also

Reference

IDebugMethodField

IEnumDebugFields

IDebugField

IDebugMethodField::EnumParameters