共用方式為


IVsBackForwardNavigation2.RequestAddNavigationItem(IVsWindowFrame) Method

Definition

Requests that a navigation point be added for the view's current location in the frame.

public:
 bool RequestAddNavigationItem(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ frame);
public:
 bool RequestAddNavigationItem(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ frame);
bool RequestAddNavigationItem(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & frame);
public bool RequestAddNavigationItem (Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame frame);
abstract member RequestAddNavigationItem : Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> bool
Public Function RequestAddNavigationItem (frame As IVsWindowFrame) As Boolean

Parameters

frame
IVsWindowFrame

Frame containing the navigation item.

Returns

true if the navigation item was successfully added.

Remarks

You should call AddNewBFNavigationItem before using this method.

Applies to