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
- pHierCodeFile
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- itemidCodeFile
Type: System.UInt32
- pszRQName
Type: System.String
- ppHierToNavigate
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy%
- pitemidToNavigate
Type: System.UInt32%
- pSpanToNavigate
Type: []
- pfWouldNavigate
Type: System.Int32%
Return Value
Type: System.Int32
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.
See Also
Reference
IVsSymbolicNavigationManager Interface