Aracılığıyla paylaş


PropertyMetadata.GetAttributes Yöntem

Tanım

Tüm öznitelikleri içeren bir dizi alır.

Aşırı Yüklemeler

GetAttributes()

Tüm öznitelikleri içeren bir dizi alır.

GetAttributes(Type)

türüne Attribute eşit attributeTypeolan öznitelikleri içeren bir tür dizisi alır.

GetAttributes()

Tüm öznitelikleri içeren bir dizi alır.

public:
 cli::array <Attribute ^> ^ GetAttributes();
public Attribute[] GetAttributes ();
member this.GetAttributes : unit -> Attribute[]
Public Function GetAttributes () As Attribute()

Döndürülenler

Tüm öznitelikleri içeren bir dizi.

Şunlara uygulanır

GetAttributes(Type)

türüne Attribute eşit attributeTypeolan öznitelikleri içeren bir tür dizisi alır.

public:
 cli::array <Attribute ^> ^ GetAttributes(Type ^ attributeType);
public Attribute[] GetAttributes (Type attributeType);
member this.GetAttributes : Type -> Attribute[]
Public Function GetAttributes (attributeType As Type) As Attribute()

Parametreler

attributeType
Type

Type Döndürülecek özniteliklerin sayısı.

Döndürülenler

türüne eşit attributeTypeolan öznitelikleri içeren tür Attribute dizisi.

Şunlara uygulanır