Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateAttributeCollection Method

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

© 2015 Microsoft