共用方式為


LanguageService.ResolveName(String, UInt32, IVsEnumDebugName) Method

Definition

Returns a list of method names that match the given name modified by the specified flags.

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

Parameters

name
String

[in] The name to match.

flags
UInt32

[in] A collection of flags from the RESOLVENAMEFLAGS enumeration.

ppNames
IVsEnumDebugName

[out] Returns an IVsEnumDebugName object containing the list of name or a null value.

Returns

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

Implements

Remarks

This method is typically used to resolve a breakpoint on the specified method since the IVsDebugName object stored in the IVsEnumDebugName object contains the name and the location of the method.

The base method returns E_NOTIMPL. This method is an implementation of Microsoft.VisualStudio.TextManager.Interop.IVsLanguageDebugInfo.ResolveName.

Applies to