MemberDescriptor.CreateAttributeCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.