IVsUIDynamicCollection.AdviseCollectionChangeEvents(IVsUICollectionChangeEvents, UInt32) Méthode

Définition

Inscrit un récepteur d'événements pour les notifications de modifications de collection.

public:
 int AdviseCollectionChangeEvents(Microsoft::VisualStudio::Shell::Interop::IVsUICollectionChangeEvents ^ pAdvise, [Runtime::InteropServices::Out] System::UInt32 % pCookie);
int AdviseCollectionChangeEvents(Microsoft::VisualStudio::Shell::Interop::IVsUICollectionChangeEvents const & pAdvise, [Runtime::InteropServices::Out] unsigned int & pCookie);
public int AdviseCollectionChangeEvents (Microsoft.VisualStudio.Shell.Interop.IVsUICollectionChangeEvents pAdvise, out uint pCookie);
abstract member AdviseCollectionChangeEvents : Microsoft.VisualStudio.Shell.Interop.IVsUICollectionChangeEvents *  -> int
Public Function AdviseCollectionChangeEvents (pAdvise As IVsUICollectionChangeEvents, ByRef pCookie As UInteger) As Integer

Paramètres

pAdvise
IVsUICollectionChangeEvents

[in] Interface à appeler.

pCookie
UInt32

[out] Emplacement pour retourner un identificateur pour l'événement.

Retours

Int32

Retourne S_OK si le récepteur est inscrit.

Implémente

S’applique à