Bewerken

Delen via


PropertyMetadata.GetAttributes Method

Definition

Retrieves an array that contains all attributes.

Overloads

GetAttributes()

Retrieves an array that contains all attributes.

GetAttributes(Type)

Receives an array of type Attribute that contains those attributes having type equal to attributeType.

GetAttributes()

Retrieves an array that contains all attributes.

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

Returns

An array that contains all attributes.

Applies to

GetAttributes(Type)

Receives an array of type Attribute that contains those attributes having type equal to attributeType.

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

Parameters

attributeType
Type

The Type of attributes to return.

Returns

An array of type Attribute that contains those attributes having type equal to attributeType.

Applies to