EventSinkCollection Class
Maps objects to and from event "cookies" that represent a client's registration with an event provider.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
‘선언
<CLSCompliantAttribute(False)> _
Public Class EventSinkCollection _
Implements IEnumerable
‘사용 방법
Dim instance As EventSinkCollection
[CLSCompliantAttribute(false)]
public class EventSinkCollection : IEnumerable
[CLSCompliantAttribute(false)]
public ref class EventSinkCollection : IEnumerable
[<CLSCompliantAttribute(false)>]
type EventSinkCollection =
class
interface IEnumerable
end
public class EventSinkCollection implements IEnumerable
Remarks
This helps in the implementation of Visual Studio interfaces that have Advise/Unadvise methods like IVsHierarchy, IVsCfgProvider2, and IVsBuildableProjectCfg.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.EventSinkCollection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.