LocalizableTypeConverter.GetProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetProperties(PropertyInfo[]) |
获取描述传入的属性的 PropertyDescriptors 集合。 将从属性列表中的第一个属性的声明类型检索 ResourceManager。 |
| GetProperties(ITypeDescriptorContext, Object, Attribute[]) |
获取描述输入对象的属性的 PropertyDescriptors 集合 |
GetProperties(PropertyInfo[])
获取描述传入的属性的 PropertyDescriptors 集合。 将从属性列表中的第一个属性的声明类型检索 ResourceManager。
public System.ComponentModel.PropertyDescriptorCollection GetProperties(System.Reflection.PropertyInfo[] properties);
override this.GetProperties : System.Reflection.PropertyInfo[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetProperties (properties As PropertyInfo()) As PropertyDescriptorCollection
参数
- properties
- PropertyInfo[]
返回
适用于
GetProperties(ITypeDescriptorContext, Object, Attribute[])
获取描述输入对象的属性的 PropertyDescriptors 集合
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] filter);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, filter As Attribute()) As PropertyDescriptorCollection
参数
- context
- ITypeDescriptorContext
未使用,对象的上下文
- value
- Object
要描述其属性的对象
- filter
- Attribute[]
未使用的属性,用于筛选属性。
返回
PropertyDescriptors 的集合