IVsUIShell.AddNewBFNavigationItem(IVsWindowFrame, String, Object, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute un nouvel élément de navigation arrière et avant.
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
Paramètres
- pWindowFrame
- IVsWindowFrame
[in] Pointeur vers le frame de la fenêtre contenant l'élément de navigation vers l'arrière et l'avant.
- bstrData
- String
[in] Données arbitraires requises pour le point de navigation (point d'insertion).
- punk
- Object
[in] Pointeur vers une interface spécifique du point de navigation.
- fReplaceCurrent
- Int32
[in] Si la valeur est true, l'élément de navigation en cours est remplacé.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell. idl :
HRESULT IVsUIShell::AddNewBFNavigationItem(
[in] IVsWindowFrame *pWindowFrame,
[in] BSTR bstrData,
[in] IUnknown *punk,
[in] BOOL fReplaceCurrent
);