IVsUIShell.AddNewBFNavigationItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new backward and forward navigation item.
public:
int AddNewBFNavigationItem(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pWindowFrame, System::String ^ bstrData, System::Object ^ punk, int fReplaceCurrent);
public:
int AddNewBFNavigationItem(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pWindowFrame, Platform::String ^ bstrData, Platform::Object ^ punk, int fReplaceCurrent);
int AddNewBFNavigationItem(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & pWindowFrame, std::wstring const & bstrData, winrt::Windows::Foundation::IInspectable const & punk, int fReplaceCurrent);
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
[in] Pointer to the window frame for the window containing the backward and forward navigation item.
- bstrData
- String
[in] Any arbitrary data that is needed for the navigation point (insertion point).
- punk
- Object
[in] Pointer to a specific interface for the navigation point.
- fReplaceCurrent
- 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
);