Freigeben über


VirtualTypeBuilder.EventInfoCollection Class

Represents the collection of events. This class cannot be inherited.

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

Syntax

'Declaration
Public NotInheritable Class EventInfoCollection _
    Inherits CollectionBase
'Usage
Dim instance As VirtualTypeBuilder.EventInfoCollection
public sealed class EventInfoCollection : CollectionBase
public ref class EventInfoCollection sealed : public CollectionBase
[<SealedAttribute>]
type EventInfoCollection =  
    class
        inherit CollectionBase
    end
public final class EventInfoCollection extends CollectionBase

Remarks

Only EventInfo objects should be added to this collection. VirtualTypeBuilder.EventInfoCollection is nested inside of VirtualTypeBuilder due to its specific behavior related to virtual types.

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.EventInfoCollection

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.

See Also

Reference

VirtualTypeBuilder.EventInfoCollection Members

Microsoft.VisualStudio.Shell.Design Namespace

VirtualTypeBuilder

System.Collections.CollectionBase