检索元素的指定实例的特性数组作为筛选器。
命名空间: Microsoft.VisualStudio.Data
程序集: Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)
语法
声明
Private Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(
Attribute[] attributes
)
private:
virtual PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
private override GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
JScript 不支持显式接口实现。
参数
- attributes
类型:array<System.Attribute[]
用作筛选器的 Attribute 类型数组。
返回值
类型:System.ComponentModel.PropertyDescriptorCollection
返回表示此组件实例筛选的属性类型的数组 Attribute。
实现
ICustomTypeDescriptor.GetProperties(array<Attribute[])
备注
此方法提供 GetProperties 方法的实现。有关更多信息在 .NET Framework 选件类库中看到 GetProperties(System.Attribute[]) 方法。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。