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.ObjectA 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
- 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.
See Also
Reference
DataViewPropertyDescriptor Class