PropertyMetadata.GetAttributes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索包含所有属性的数组。
重载
| 名称 | 说明 |
|---|---|
| GetAttributes() |
检索包含所有属性的数组。 |
| GetAttributes(Type) |
接收一个类型 Attribute 数组,该数组包含类型等于 |
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()
参数
返回
一个类型 Attribute 数组,其中包含类型等于 attributeType的那些属性。