Share via


DataViewPropertyDescriptor.GetChildProperties Method (Object, array<Attribute )

Returns a PropertyDescriptorCollection for a given component, using a specified array of attributes as a filter.

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

Syntax

'Declaration
Public Overrides Function GetChildProperties ( _
    instance As Object, _
    filter As Attribute() _
) As PropertyDescriptorCollection
public override PropertyDescriptorCollection GetChildProperties(
    Object instance,
    Attribute[] filter
)
public:
virtual PropertyDescriptorCollection^ GetChildProperties(
    Object^ instance, 
    array<Attribute^>^ filter
) override
abstract GetChildProperties : 
        instance:Object * 
        filter:Attribute[] -> PropertyDescriptorCollection 
override GetChildProperties : 
        instance:Object * 
        filter:Attribute[] -> PropertyDescriptorCollection 
public override function GetChildProperties(
    instance : Object, 
    filter : Attribute[]
) : PropertyDescriptorCollection

Parameters

  • instance
    Type: System.Object
    A component to get the properties for.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection
A PropertyDescriptorCollection with the properties that match the specified attributes for the specified component.

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

GetChildProperties Overload

Microsoft.VisualStudio.Data.Framework Namespace