Breyta

Deila með


MemberDescriptor.CreateAttributeCollection Method

Definition

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

protected:
 virtual System::ComponentModel::AttributeCollection ^ CreateAttributeCollection();
protected virtual System.ComponentModel.AttributeCollection CreateAttributeCollection ();
abstract member CreateAttributeCollection : unit -> System.ComponentModel.AttributeCollection
override this.CreateAttributeCollection : unit -> System.ComponentModel.AttributeCollection
Protected Overridable Function CreateAttributeCollection () As AttributeCollection

Returns

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.

Applies to