共用方式為


DataConnectionProperties.GetProperties Method

Definition

Overloads

GetProperties()

Retrieves the collection of descriptors of all currently known properties.

GetProperties(Attribute[])

Retrieves the collection of descriptors of currently known properties that match a specified set of attributes.

GetProperties()

Retrieves the collection of descriptors of all currently known properties.

protected:
 System::ComponentModel::PropertyDescriptorCollection ^ GetProperties();
protected System.ComponentModel.PropertyDescriptorCollection GetProperties ();
member this.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Protected Function GetProperties () As PropertyDescriptorCollection

Returns

Returns the collection of descriptors of all currently known properties.

Applies to

GetProperties(Attribute[])

Retrieves the collection of descriptors of currently known properties that match a specified set of attributes.

protected:
 System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(cli::array <Attribute ^> ^ attributes);
protected System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[] attributes);
member this.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Protected Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection

Parameters

attributes
Attribute[]

An array of type Attribute that is used as a filter to define which properties to return.

Returns

Returns a collection of descriptors of currently known properties that match a specified set of attributes.

Applies to