PropertyMetadata.GetAttributes Metod

Definition

Hämtar en matris som innehåller alla attribut.

Överlagringar

Name Description
GetAttributes()

Hämtar en matris som innehåller alla attribut.

GetAttributes(Type)

Tar emot en matris av typen Attribute som innehåller attributen med typen lika attributeTypemed .

GetAttributes()

Hämtar en matris som innehåller alla attribut.

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

Returer

En matris som innehåller alla attribut.

Gäller för

GetAttributes(Type)

Tar emot en matris av typen Attribute som innehåller attributen med typen lika attributeTypemed .

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()

Parametrar

attributeType
Type

De Type attribut som ska returneras.

Returer

En matris av typen Attribute som innehåller attributen med typen lika med attributeType.

Gäller för