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

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection
Returns an array of type Attribute that represents the filtered properties for this component instance.

Implements

ICustomTypeDescriptor.GetProperties(array<Attribute[])

Remarks

This method provides an implementation of the GetProperties method. For more information see the GetProperties(System.Attribute[]) method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

GetProperties Overload

Microsoft.VisualStudio.Data Namespace