IVsUIShell.AddNewBFNavigationItem(IVsWindowFrame, String, Object, Int32) IVsUIShell.AddNewBFNavigationItem(IVsWindowFrame, String, Object, Int32) IVsUIShell.AddNewBFNavigationItem(IVsWindowFrame, String, Object, Int32) Method

Definition

Adds a new backward and forward navigation item.

public int AddNewBFNavigationItem (Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame pWindowFrame, string bstrData, object punk, int fReplaceCurrent);
abstract member AddNewBFNavigationItem : Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame * string * obj * int -> int
Public Function AddNewBFNavigationItem (pWindowFrame As IVsWindowFrame, bstrData As String, punk As Object, fReplaceCurrent As Integer) As Integer
Parameters
pWindowFrame
IVsWindowFrame IVsWindowFrame IVsWindowFrame

[in] Pointer to the window frame for the window containing the backward and forward navigation item.

bstrData
String String String

[in] Any arbitrary data that is needed for the navigation point (insertion point).

punk
Object Object Object

[in] Pointer to a specific interface for the navigation point.

fReplaceCurrent
Int32 Int32 Int32

[in] If true, then the current navigation item is replaced.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIShell::AddNewBFNavigationItem(  
   [in] IVsWindowFrame *pWindowFrame,  
   [in] BSTR bstrData,  
   [in] IUnknown *punk,  
   [in] BOOL fReplaceCurrent  
);  

Applies to