LanguageService.ResolveName Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function ResolveName ( _
    name As String, _
    flags As UInteger, _
    <OutAttribute> ByRef ppNames As IVsEnumDebugName _
) As Integer
public virtual int ResolveName(
    string name,
    uint flags,
    out IVsEnumDebugName ppNames
)
public:
virtual int ResolveName(
    String^ name, 
    unsigned int flags, 
    [OutAttribute] IVsEnumDebugName^% ppNames
)
abstract ResolveName : 
        name:string * 
        flags:uint32 * 
        ppNames:IVsEnumDebugName byref -> int 
override ResolveName : 
        name:string * 
        flags:uint32 * 
        ppNames:IVsEnumDebugName byref -> int 
public function ResolveName(
    name : String, 
    flags : uint, 
    ppNames : IVsEnumDebugName
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsLanguageDebugInfo.ResolveName(String, UInt32, IVsEnumDebugName%)

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 IVsLanguageDebugInfo.ResolveName.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace