Compartilhar via


DataConnectionProperties.GetProperties Method (array<Attribute )

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

'Declaration
Protected Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetProperties(
    Attribute[] attributes
)
protected:
PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
)
member GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection
protected function GetProperties(
    attributes : Attribute[]
) : PropertyDescriptorCollection

Parameters

  • attributes
    Type: array<System.Attribute[]

    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.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

GetProperties Overload

Microsoft.VisualStudio.Data Namespace