Partager 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.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.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
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.Framework Namespace