共用方式為


IVsLanguageDebugInfo.ResolveName(String, UInt32, IVsEnumDebugName) Method

Definition

Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.

public:
 int ResolveName(System::String ^ pszName, System::UInt32 dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumDebugName ^ % ppNames);
public:
 int ResolveName(Platform::String ^ pszName, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumDebugName ^ &  ppNames);
int ResolveName(std::wstring const & pszName, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumDebugName const & & ppNames);
public int ResolveName (string pszName, uint dwFlags, out Microsoft.VisualStudio.TextManager.Interop.IVsEnumDebugName ppNames);
abstract member ResolveName : string * uint32 * IVsEnumDebugName -> int
Public Function ResolveName (pszName As String, dwFlags As UInteger, ByRef ppNames As IVsEnumDebugName) As Integer

Parameters

pszName
String

[in] String containing the name.

dwFlags
UInt32

[in] Flags. For more information, see RESOLVENAMEFLAGS.

ppNames
IVsEnumDebugName

[out] Returns an object containing a list of names. For more information, see IVsEnumDebugName.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsLanguageDebugInfo::ResolveName(  
   [in] LPCOLESTR pszName,   
   [in] DWORD dwFlags,   
   [out] IVsEnumDebugName **ppNames  
);  

This method disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.

Applies to