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.ObjectA component to get the properties for.
filter
Type: array<System.Attribute[]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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.