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
'Declaración
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.