Returns a list of method names that match the given name modified by the specified flags.
Namespace: Microsoft.VisualStudio.Package
Assembly: 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
'使用
Dim instance As LanguageService
Dim name As String
Dim flags As UInteger
Dim ppNames As IVsEnumDebugName
Dim returnValue As Integer
returnValue = instance.ResolveName(name, _
flags, ppNames)
public virtual int ResolveName(
string name,
uint flags,
out IVsEnumDebugName ppNames
)
public:
virtual int ResolveName(
String^ name,
unsigned int flags,
[OutAttribute] IVsEnumDebugName^% ppNames
)
public function ResolveName(
name : String,
flags : uint,
ppNames : IVsEnumDebugName
) : int
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.
Permissions
- 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.