IVsUIDynamicCollection.AdviseCollectionChangeEvents Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
Havuz kaydedilmişse S_OK döndürür.