Udostępnij za pośrednictwem


Metoda IVsUICollection.UnadviseCollectionChangeEvents — (UInt32)

 

Zatrzymuje wskazujący 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 UnadviseCollectionChangeEvents(
    uint cookie
)
int UnadviseCollectionChangeEvents(
    unsigned int cookie
)
abstract UnadviseCollectionChangeEvents : 
        cookie:uint32 -> int
Function UnadviseCollectionChangeEvents (
    cookie As UInteger
) As Integer

Parametry

  • cookie
    Type: System.UInt32

    [in] Identyfikator zwracane, gdy zdarzenie zostało zarejestrowane.

Wartość zwracana

Type: System.Int32

Zwraca S_OK, jeśli interfejs był wyrejestrować.

Uwagi

Wywołaj tę funkcję, aby przestać otrzymywać powiadomienia, po wywołaniu AdviseCollectionChangeEvents.

Zobacz też

Interfejs IVsUICollection
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku