MemberDescriptor.CreateAttributeCollection Yöntem

Tanım

Oluşturucuya geçirilen öznitelik dizisini kullanarak bir öznitelik koleksiyonu oluşturur.

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

Döndürülenler

Öznitelikleri içeren AttributeCollection yeni AttributeArray bir.

Açıklamalar

Bu yöntem, bu üye için olmadığında Attributes özelliğinden AttributeCollection çağrılır. içinde AttributeArrayöznitelik yoksa, bu boş AttributeCollectionbir döndürür.

Şunlara uygulanır