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
)
abstract QueryNavigateToSymbol :
pHierCodeFile:IVsHierarchy *
itemidCodeFile:uint32 *
pszRQName:string *
ppHierToNavigate:IVsHierarchy byref *
pitemidToNavigate:uint32 byref *
pSpanToNavigate:TextSpan[] byref *
pfWouldNavigate:int byref -> int
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: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
- pfWouldNavigate
Type: System.Int32%
Return Value
Type: System.Int32
.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.
See Also
Reference
IVsSymbolicNavigationManager Interface