DataConnectionProperties.GetProperties Method ([])

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

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Protected Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection
'使用
Dim attributes As Attribute()
Dim returnValue As PropertyDescriptorCollection

returnValue = Me.GetProperties(attributes)
protected PropertyDescriptorCollection GetProperties(
    Attribute[] attributes
)
protected:
PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
)
protected function GetProperties(
    attributes : Attribute[]
) : PropertyDescriptorCollection

Parameters

  • attributes
    Type: []

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

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

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

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

GetProperties Overload

Microsoft.VisualStudio.Data Namespace