DataViewPropertyDescriptor.GetChildProperties Method (Object, [])

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

'宣言
Public Overrides Function GetChildProperties ( _
    instance As Object, _
    filter As Attribute() _
) As PropertyDescriptorCollection
'使用
Dim instance As DataViewPropertyDescriptor
Dim instance As Object
Dim filter As Attribute()
Dim returnValue As PropertyDescriptorCollection

returnValue = instance.GetChildProperties(instance, _
    filter)
public override PropertyDescriptorCollection GetChildProperties(
    Object instance,
    Attribute[] filter
)
public:
virtual PropertyDescriptorCollection^ GetChildProperties(
    Object^ instance, 
    array<Attribute^>^ filter
) override
public override function GetChildProperties(
    instance : Object, 
    filter : Attribute[]
) : PropertyDescriptorCollection

Parameters

  • instance
    Type: System.Object

    A component to get the properties for.

  • filter
    Type: []

    An array of Attribute objects to use as a filter.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

A PropertyDescriptorCollection with the properties that match the specified attributes for the specified component.

Permissions

See Also

Reference

DataViewPropertyDescriptor Class

DataViewPropertyDescriptor Members

GetChildProperties Overload

Microsoft.VisualStudio.Data.Framework Namespace