Export (0) Print
Expand All

ListViewPagedDataSource.GetItemProperties Method

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 PropertyDescriptorCollection GetItemProperties(
	PropertyDescriptor[] listAccessors
)

Parameters

listAccessors
Type: 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.

Implements

ITypedList.GetItemProperties(PropertyDescriptor[])

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

Supported in: 4.6, 4.5, 4, 3.5
Show:
© 2015 Microsoft