Metoda IVsUICollection.AdviseCollectionChangeEvents — (IVsUICollectionChangeEvents, UInt32)
Rejestry dla zbierania zdarzeń.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int AdviseCollectionChangeEvents(
IVsUICollectionChangeEvents pAdvise,
out uint pCookie
)
int AdviseCollectionChangeEvents(
IVsUICollectionChangeEvents^ pAdvise,
[OutAttribute] unsigned int% pCookie
)
abstract AdviseCollectionChangeEvents :
pAdvise:IVsUICollectionChangeEvents *
pCookie:uint32 byref -> int
Function AdviseCollectionChangeEvents (
pAdvise As IVsUICollectionChangeEvents,
<OutAttribute> ByRef pCookie As UInteger
) As Integer
Parametry
pAdvise
Type: Microsoft.VisualStudio.Shell.Interop.IVsUICollectionChangeEvents[in] Interfejs może wywołać zdarzenie kolekcji.
pCookie
Type: System.UInt32[out] Lokalizacja zwrócić identyfikatora obiektu sink zdarzenia.
Wartość zwracana
Type: System.Int32
Zwraca S_OK, jeśli metoda zarejestrowane zdarzenia.
Uwagi
Wywołanie UnadviseCollectionChangeEvents chcesz otrzymywać powiadomienia.
Zobacz też
Interfejs IVsUICollection
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku