IVsSymbolicNavigationManager.QueryNavigateToSymbol Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'宣言
Function QueryNavigateToSymbol ( _
    pHierCodeFile As IVsHierarchy, _
    itemidCodeFile As UInteger, _
    pszRQName As String, _
    <OutAttribute> ByRef ppHierToNavigate As IVsHierarchy, _
    <OutAttribute> ByRef pitemidToNavigate As UInteger, _
    <OutAttribute> pSpanToNavigate As TextSpan(), _
    <OutAttribute> ByRef pfWouldNavigate As Integer _
) As Integer
'使用
Dim instance As IVsSymbolicNavigationManager
Dim pHierCodeFile As IVsHierarchy
Dim itemidCodeFile As UInteger
Dim pszRQName As String
Dim ppHierToNavigate As IVsHierarchy
Dim pitemidToNavigate As UInteger
Dim pSpanToNavigate As TextSpan()
Dim pfWouldNavigate As Integer
Dim returnValue As Integer

returnValue = instance.QueryNavigateToSymbol(pHierCodeFile, _
    itemidCodeFile, pszRQName, ppHierToNavigate, _
    pitemidToNavigate, pSpanToNavigate, _
    pfWouldNavigate)
int QueryNavigateToSymbol(
    IVsHierarchy pHierCodeFile,
    uint itemidCodeFile,
    string pszRQName,
    out IVsHierarchy ppHierToNavigate,
    out uint pitemidToNavigate,
    TextSpan[] pSpanToNavigate,
    out int pfWouldNavigate
)
int QueryNavigateToSymbol(
    [InAttribute] IVsHierarchy^ pHierCodeFile, 
    [InAttribute] unsigned int itemidCodeFile, 
    [InAttribute] String^ pszRQName, 
    [OutAttribute] IVsHierarchy^% ppHierToNavigate, 
    [OutAttribute] unsigned int% pitemidToNavigate, 
    [OutAttribute] array<TextSpan>^ pSpanToNavigate, 
    [OutAttribute] int% pfWouldNavigate
)
function QueryNavigateToSymbol(
    pHierCodeFile : IVsHierarchy, 
    itemidCodeFile : uint, 
    pszRQName : String, 
    ppHierToNavigate : IVsHierarchy, 
    pitemidToNavigate : uint, 
    pSpanToNavigate : TextSpan[], 
    pfWouldNavigate : int
) : int

Parameters

  • pSpanToNavigate
    Type: []

Return Value

Type: System.Int32

Permissions

See Also

Reference

IVsSymbolicNavigationManager Interface

IVsSymbolicNavigationManager Members

Microsoft.VisualStudio.Shell.Interop Namespace