VsSymbolicNavigationManagerClass::OnBeforeNavigateToSymbol Method (IVsHierarchy^, UInt32, String^, Int32)

 

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)

public:
virtual int OnBeforeNavigateToSymbol(
	IVsHierarchy^ pHierCodeFile,
	unsigned int itemidCodeFile,
	String^ pszRQName,
	[OutAttribute] int% pfNavigationHandled
)

Parameters

pHierCodeFile
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] The IVsHierarchy of the alternate code file within which to navigate.

itemidCodeFile
Type: System::UInt32

[in] The VSConstants::VSITEMID of the alternate code file within which to navigate.

pszRQName
Type: System::String^

[in] Refactor-qualified-name(RQName)-syntax string that identifies the symbol to navigate to.

pfNavigationHandled
Type: System::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: System::Int32

Returns S_OK if the method succeeds.

Return to top
Show: