IVsUIShell.AddNewBFNavigationItem Method (IVsWindowFrame, String, Object, Int32)
Visual Studio 2015
Adds a new backward and forward navigation item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int AddNewBFNavigationItem( IVsWindowFrame pWindowFrame, string bstrData, object punk, int fReplaceCurrent )
Parameters
- pWindowFrame
-
Type:
Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
[in] Pointer to the window frame for the window containing the backward and forward navigation item.
- bstrData
-
Type:
System.String
[in] Any arbitrary data that is needed for the navigation point (insertion point).
- punk
-
Type:
System.Object
[in] Pointer to a specific interface for the navigation point.
- fReplaceCurrent
-
Type:
System.Int32
[in] If true, then the current navigation item is replaced.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIShell::AddNewBFNavigationItem( [in] IVsWindowFrame *pWindowFrame, [in] BSTR bstrData, [in] IUnknown *punk, [in] BOOL fReplaceCurrent );
Show: