次の方法で共有


IDebugSymbolProvider::GetMethodFieldsByName

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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