PropertyMetadata.GetAttributes 方法

定义

检索包含所有属性的数组。

重载

名称 说明
GetAttributes()

检索包含所有属性的数组。

GetAttributes(Type)

接收一个类型 Attribute 数组,该数组包含类型等于 attributeType的那些属性。

GetAttributes()

检索包含所有属性的数组。

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

返回

包含所有属性的数组。

适用于

GetAttributes(Type)

接收一个类型 Attribute 数组,该数组包含类型等于 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()

参数

attributeType
Type

Type 返回的属性。

返回

一个类型 Attribute 数组,其中包含类型等于 attributeType的那些属性。

适用于