Share via


VirtualTypeBuilder.AttributeCollection Class

Represents the collection of attributes. 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 AttributeCollection _
    Inherits CollectionBase
'Usage
Dim instance As VirtualTypeBuilder.AttributeCollection
public sealed class AttributeCollection : CollectionBase
public ref class AttributeCollection sealed : public CollectionBase
public final class AttributeCollection extends CollectionBase

Remarks

Only Attribute objects should be added to this collection. VirtualTypeBuilder.AttributeCollection 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.AttributeCollection

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.AttributeCollection Members

Microsoft.VisualStudio.Shell.Design Namespace

VirtualTypeBuilder

System.Collections.CollectionBase