Creates a collection of attributes using the array of attributes that you passed to the constructor.
[Visual Basic] Overridable Protected Function CreateAttributeCollection() As _ MemberAttributeCollection [C#] protected virtual MemberAttributeCollection CreateAttributeCollection(); [C++] protected: virtual MemberAttributeCollection* CreateAttributeCollection(); [JScript] protected function CreateAttributeCollection() : MemberAttributeCollection;
A new MemberAttributeCollection that contains the AttributeArray attributes.
This method is called from the Attributes property when there is no MemberAttributeCollection for this member. If there are no attributes in the AttributeArray, this will return an empty MemberAttributeCollection.
MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace