ActivityBindTypeConverter.GetProperties 方法

定义

使用指定的上下文和属性返回由参数指定的 value 数组类型的属性集合。

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, attributes As Attribute()) As PropertyDescriptorCollection

参数

context
ITypeDescriptorContext

提供 ITypeDescriptorContext 格式上下文的上下文。

value
Object

一个 Object ,指定要为其获取属性的数组的类型。

attributes
Attribute[]

Attribute用作筛选器的数组。

返回

具有为此数据类型公开的属性的 PropertyDescriptorCollection;如果没有属性,则为空引用(Nothing in Visual Basic)。

适用于