ListViewPagedDataSource::GetItemProperties Method (array<PropertyDescriptor^>^)

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
virtual PropertyDescriptorCollection^ GetItemProperties(
	array<PropertyDescriptor^>^ listAccessors
) sealed

Parameters

listAccessors
Type: array<System.ComponentModel::PropertyDescriptor^>^

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

Return Value

Type: System.ComponentModel::PropertyDescriptorCollection^

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

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.

.NET Framework
Available since 3.5
Return to top
Show: