Compartilhar via


DataConnectionProperties.ICustomTypeDescriptor.GetProperties Method (array<Attribute )

Retrieves the properties for the specified instance of a component, using the attribute array as a filter.

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

Syntax

'Declaration
Private Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(
    Attribute[] attributes
)
private:
virtual PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection  
private override GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection
JScript does not support explicit interface implementations.

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.

Implements

ICustomTypeDescriptor.GetProperties(array<Attribute[])

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

GetProperties Overload

Microsoft.VisualStudio.Data.Framework Namespace