检索指定组件的实例的属性数组作为筛选器特性。
命名空间: Microsoft.VisualStudio.Data.AdoDotNet
程序集: 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<Attribute[]用于 Attribute 类型的数组,则返回的属性的筛选器定义。
返回值
类型:PropertyDescriptorCollection
返回表示该组件实例的筛选属性的 Attribute 类型数组。
实现
ICustomTypeDescriptor.GetProperties(Attribute)
备注
此方法提供 GetProperties方法的实现。 有关更多信息在 .NET Framework 类库中看到 GetProperties 方法。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。