Export (0) Print
Expand All
Expand Minimize

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)

public virtual int ResolveName(
	string name,
	uint flags,
	out IVsEnumDebugName ppNames
)

Parameters

name
Type: System.String
[in] The name to match.
flags
Type: System.UInt32
[in] A collection of flags from the RESOLVENAMEFLAGS enumeration.
ppNames
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumDebugName
[out] Returns an IVsEnumDebugName object containing the list of name or a null value.

Return Value

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

Implements

IVsLanguageDebugInfo.ResolveName(String, UInt32, IVsEnumDebugName)

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.

Community Additions

ADD
Show:
© 2014 Microsoft