IVsUIDynamicCollection.AdviseCollectionChangeEvents Yöntem

Tanım

Koleksiyon değişikliği bildirimleri için bir olay havuzunu kaydeder.

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

Parametreler

pAdvise
IVsUICollectionChangeEvents

'ndaki Çağrılacak arabirim.

pCookie
UInt32

dışı Olay için bir tanımlayıcı döndürecek konum.

Döndürülenler

Int32

Havuz kaydedilmişse S_OK döndürür.

Uygulamalar

Şunlara uygulanır