DataBus.GetProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 DataBus 控制項的屬性。
多載
| 名稱 | Description |
|---|---|
| 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[]
一個屬性陣列,用作過濾器。
傳回
一個 PropertyDescriptorCollection 代表 DataBus 控制項過濾屬性的物件。