Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if there is an alternate source file within which to navigate for a specified code symbol (GoTo Definition operation).
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Public Overridable Function OnBeforeNavigateToSymbol ( _
pHierCodeFile As IVsHierarchy, _
itemidCodeFile As UInteger, _
pszRQName As String, _
<OutAttribute> ByRef pfNavigationHandled As Integer _
) As Integer
public virtual int OnBeforeNavigateToSymbol(
IVsHierarchy pHierCodeFile,
uint itemidCodeFile,
string pszRQName,
out int pfNavigationHandled
)
public:
virtual int OnBeforeNavigateToSymbol(
[InAttribute] IVsHierarchy^ pHierCodeFile,
[InAttribute] unsigned int itemidCodeFile,
[InAttribute] String^ pszRQName,
[OutAttribute] int% pfNavigationHandled
)
abstract OnBeforeNavigateToSymbol :
pHierCodeFile:IVsHierarchy *
itemidCodeFile:uint32 *
pszRQName:string *
pfNavigationHandled:int byref -> int
override OnBeforeNavigateToSymbol :
pHierCodeFile:IVsHierarchy *
itemidCodeFile:uint32 *
pszRQName:string *
pfNavigationHandled:int byref -> int
public function OnBeforeNavigateToSymbol(
pHierCodeFile : IVsHierarchy,
itemidCodeFile : uint,
pszRQName : String,
pfNavigationHandled : int
) : int
Parameters
pHierCodeFile
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] The IVsHierarchy of the alternate code file within which to navigate.
itemidCodeFile
Type: UInt32[in] The VSConstants.VSITEMID of the alternate code file within which to navigate.
pszRQName
Type: String[in] Refactor-qualified-name(RQName)-syntax string that identifies the symbol to navigate to.
pfNavigationHandled
Type: Int32%[out] Flag indicating whether navigation to the specified symbol has been handled. Returns true if symbol has been handled; otherwise returns false if caller should do normal navigation.
Return Value
Type: Int32
Returns S_OK if the method succeeds.
Implements
IVsSymbolicNavigationManager.OnBeforeNavigateToSymbol(IVsHierarchy, UInt32, String, 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.