Upraviť

Zdieľať cez


PagedDataSource.GetItemProperties(PropertyDescriptor[]) Method

Definition

Returns the PropertyDescriptorCollection that represents the properties on each item 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 that contains the list name returned. This can be null.

Returns

The PropertyDescriptorCollection that represents the properties on each item used to bind data.

Implements

Remarks

Use the GetItemProperties method to create a System.ComponentModel.PropertyDescriptorCollection that represents the properties on each item used to bind data. If the DataSource property is null or is not a System.ComponentModel.ITypedList implemented object, null is returned. For more information on the GetItemProperties method, see ITypedList.GetItemProperties.

Applies to

See also