DataBus.GetProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索 DataBus 控件的属性。
重载
| GetProperties() |
返回一个 DataBus 控件的属性描述符集合。 |
| GetProperties(Attribute[]) |
使用属性数组作为筛选器返回 DataBus 控件的属性。 |
GetProperties()
返回一个 DataBus 控件的属性描述符集合。
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties();
public System.ComponentModel.PropertyDescriptorCollection GetProperties ();
abstract member GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetProperties () As PropertyDescriptorCollection
返回
DataBus 控件的指定属性。
实现
适用于
GetProperties(Attribute[])
使用属性数组作为筛选器返回 DataBus 控件的属性。
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[] attributes);
abstract member GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection
参数
- attributes
- Attribute[]
一个用作筛选器的属性的数组。
返回
一个表示 DataBus 控件的已筛选属性的 PropertyDescriptorCollection 对象。