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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.