IVsSymbolicNavigationManager::OnBeforeNavigateToSymbol Method (IVsHierarchy^, UInt32, String^, Int32)
Visual Studio 2015
Determines if there is an alternative source file to navigate to for a code symbol (a Goto Definition operation).
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
int OnBeforeNavigateToSymbol( IVsHierarchy^ pHierCodeFile, unsigned int itemidCodeFile, String^ pszRQName, [OutAttribute] int% pfNavigationHandled )
Parameters
- pHierCodeFile
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] Hierarchy of the code-file to which the code language service would otherwise navigate.
- itemidCodeFile
-
Type:
System::UInt32
[in] The item identifier of the code-file to which the code language service would otherwise navigate.
- pszRQName
-
Type:
System::String^
[in] RQName-syntax string that identifies the symbol that is the target of the navigation.
- pfNavigationHandled
-
Type:
System::Int32
[out, retval] Returns true if navigation to symbol has been handled, or false if the caller should do normal navigation.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: