System.Windows.Forms.ListBindingHelper.GetListItemProperties Method

Returns the System.ComponentModel.PropertyDescriptorCollection that describes the properties of an item type contained in a collection property of a data source. Uses the specified System.ComponentModel.PropertyDescriptor array to indicate which properties to examine.

Syntax

public static System.ComponentModel.PropertyDescriptorCollection GetListItemProperties (object list, System.ComponentModel.PropertyDescriptor[] listAccessors)

Parameters

list
The data source to be examined for property information.
listAccessors
The System.ComponentModel.PropertyDescriptor array describing which properties of the data source to examine. This can be null.

Returns

The System.ComponentModel.PropertyDescriptorCollection describing the properties of the item type contained in a collection property of the data source.

Remarks

The ListBindingHelper.GetListItemProperties(object, System.ComponentModel.PropertyDescriptor[]) method is useful when the data source has properties that are a collection of items and you need to know properties of the item type in the collection, not the properties of the collection type.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0