共用方式為


IVsLanguageDebugInfo.ResolveName Method

Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Function ResolveName ( _
    pszName As String, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef ppNames As IVsEnumDebugName _
) As Integer
'用途
Dim instance As IVsLanguageDebugInfo
Dim pszName As String
Dim dwFlags As UInteger
Dim ppNames As IVsEnumDebugName
Dim returnValue As Integer

returnValue = instance.ResolveName(pszName, _
    dwFlags, ppNames)
int ResolveName(
    string pszName,
    uint dwFlags,
    out IVsEnumDebugName ppNames
)
int ResolveName(
    [InAttribute] String^ pszName, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] IVsEnumDebugName^% ppNames
)
abstract ResolveName : 
        pszName:string * 
        dwFlags:uint32 * 
        ppNames:IVsEnumDebugName byref -> int 
function ResolveName(
    pszName : String, 
    dwFlags : uint, 
    ppNames : IVsEnumDebugName
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsLanguageDebugInfo::ResolveName(
   [in] LPCOLESTR pszName, 
   [in] DWORD dwFlags, 
   [out] IVsEnumDebugName **ppNames
);

This method disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.

.NET Framework Security

See Also

Reference

IVsLanguageDebugInfo Interface

IVsLanguageDebugInfo Members

Microsoft.VisualStudio.TextManager.Interop Namespace