IVsBackForwardNavigation2.RequestAddNavigationItem(IVsWindowFrame) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求为视图在框架中的当前位置添加导航点。
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
参数
- frame
- IVsWindowFrame
包含导航项的框架。
返回
true 如果已成功添加导航项,则为。
注解
AddNewBFNavigationItem使用此方法之前应调用。