Edit

Share via


ListViewPagedDataSource.GetItemProperties(PropertyDescriptor[]) Method

Definition

Returns a PropertyDescriptorCollection object that represents the properties that are used to bind data.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetItemProperties(cli::array <System::ComponentModel::PropertyDescriptor ^> ^ listAccessors);
public System.ComponentModel.PropertyDescriptorCollection GetItemProperties (System.ComponentModel.PropertyDescriptor[] listAccessors);
abstract member GetItemProperties : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetItemProperties : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetItemProperties (listAccessors As PropertyDescriptor()) As PropertyDescriptorCollection

Parameters

listAccessors
PropertyDescriptor[]

An array of PropertyDescriptor objects to find in the collection as bindable. This can be null.

Returns

The PropertyDescriptorCollection object that represents the properties that are used to bind data.

Implements

Remarks

Use the GetItemProperties method to obtain a System.ComponentModel.PropertyDescriptorCollection object that represents the properties that are used to bind data. The GetItemProperties method calls the ITypedList.GetItemProperties method of the underlying data source object. If the DataSource property is null or does not implement the System.ComponentModel.ITypedList interface, null is returned.

Applies to

See also