IVsInfoBarUIElement.Advise(IVsInfoBarUIEvents, UInt32) 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.
S’abonne aux événements d’interface utilisateur pour la barre d’informations.
public:
int Advise(Microsoft::VisualStudio::Shell::Interop::IVsInfoBarUIEvents ^ eventSink, [Runtime::InteropServices::Out] System::UInt32 % cookie);
public int Advise (Microsoft.VisualStudio.Shell.Interop.IVsInfoBarUIEvents eventSink, out uint cookie);
abstract member Advise : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarUIEvents * -> int
Public Function Advise (eventSink As IVsInfoBarUIEvents, ByRef cookie As UInteger) As Integer
Paramètres
- eventSink
- IVsInfoBarUIEvents
Événements auxquels s’abonner.
- cookie
- UInt32
Cookie de l’écouteur.
Retours
S_OK si l’opération a réussi, sinon un code d’erreur.