EventSinkCollection Class

 

Maps objects to and from event "cookies" that represent a client's registration with an event provider.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  Microsoft.VisualStudio.Shell.EventSinkCollection

public class EventSinkCollection : IEnumerable

NameDescription
System_CAPS_pubmethodEventSinkCollection()

Initializes a new instance of an EventSinkCollection object.

NameDescription
System_CAPS_pubpropertyCount

Gets the total number of event cookies in the collection.

System_CAPS_pubpropertyItem[UInt32]

Gets or sets the specified cookie from the collection.

NameDescription
System_CAPS_pubmethodAdd(Object)

Adds an event and returns its cookie.

System_CAPS_pubmethodClear()

Removes all event cookies.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(Object)

Removes the specified event cookie from the collection.

System_CAPS_pubmethodRemoveAt(UInt32)

Removes the event cookie.

System_CAPS_pubmethodSetAt(UInt32, Object)

Updates the event associated with the given cookie.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Only.

This helps in the implementation of Visual Studio interfaces that have Advise/Unadvise methods like IVsHierarchy, IVsCfgProvider2, and IVsBuildableProjectCfg.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: