Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.