IVsInfoBarUIElement.Advise(IVsInfoBarUIEvents, UInt32) Méthode

Définition

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

Int32

S_OK si l’opération a réussi, sinon un code d’erreur.

S’applique à