IVsUIDynamicCollection::AdviseCollectionChangeEvents Method (IVsUICollectionChangeEvents^, UInt32)

 

Registers an event sink for collection change notifications.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int AdviseCollectionChangeEvents(
	IVsUICollectionChangeEvents^ pAdvise,
	[OutAttribute] unsigned int% pCookie
)

Parameters

pAdvise
Type: Microsoft.VisualStudio.Shell.Interop::IVsUICollectionChangeEvents^

[in] The interface to call.

pCookie
Type: System::UInt32

[out] Location to return an identifier for the event.

Return Value

Type: System::Int32

Returns S_OK if the sink was registered.

Return to top
Show: