This documentation is archived and is not being maintained.

MemberDescriptor.CreateAttributeCollection Method

Creates a collection of attributes using the array of attributes passed to the constructor.

[Visual Basic]
Protected Overridable Function CreateAttributeCollection() As _
protected virtual AttributeCollection CreateAttributeCollection();
protected: virtual AttributeCollection* CreateAttributeCollection();
protected function CreateAttributeCollection() :

Return Value

A new AttributeCollection that contains the AttributeArray attributes.


This method is called from the Attributes property when there is no AttributeCollection for this member. If there are no attributes in the AttributeArray, this will return an empty AttributeCollection.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace