Partager via


AdoDotNetConnectionProperties.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.AdoDotNet
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

  • 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 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 GetPropertiesmethod. For more information see the GetProperties method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

GetProperties Overload

Microsoft.VisualStudio.Data.AdoDotNet Namespace