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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
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
)
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%)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.