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 _
   AttributeCollection
[C#]
protected virtual AttributeCollection CreateAttributeCollection();
[C++]
protected: virtual AttributeCollection* CreateAttributeCollection();
[JScript]
protected function CreateAttributeCollection() :
   AttributeCollection;

Return Value

A new AttributeCollection that contains the AttributeArray attributes.

Remarks

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.

Requirements

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

Show:
© 2015 Microsoft