Partilhar via


IDebugSymbolProvider::GetMethodFieldsByName

This method gets the field representing a fully qualified method name.

HRESULT GetMethodFieldsByName( 
   LPCOLESTR          pszFullName,
   NAME_MATCH         nameMatch,
   IEnumDebugFields** ppEnum
);
int GetMethodFieldsByName(
   string               pszFullName, 
   NAME_MATCH           nameMatch, 
   out IEnumDebugFields ppEnum
);

Parameters

  • pszFullName
    [in] The method name.

  • nameMatch
    [in] Selects the type of match, for example, case-sensitive.

  • ppEnum
    [out] Returns an IEnumDebugFields enumerator for the fields associated with this method.

Return Value

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

Remarks

A method can be associated with multiple fields if it is overloaded, for example.

See Also

Reference

IDebugSymbolProvider

IEnumDebugFields