Partager via


IVsUICollection.UnadviseCollectionChangeEvents(UInt32) Method

Definition

Stops indicating collection events.

public:
 int UnadviseCollectionChangeEvents(System::UInt32 cookie);
public:
 int UnadviseCollectionChangeEvents(unsigned int cookie);
int UnadviseCollectionChangeEvents(unsigned int cookie);
public int UnadviseCollectionChangeEvents (uint cookie);
abstract member UnadviseCollectionChangeEvents : uint32 -> int
Public Function UnadviseCollectionChangeEvents (cookie As UInteger) As Integer

Parameters

cookie
UInt32

[in] The ID returned when the event was registered.

Returns

Returns S_OK if the interface was unregistered.

Remarks

Call this function to stop getting notifications, after calling AdviseCollectionChangeEvents.

Applies to