PagedDataSource.GetItemProperties Method (PropertyDescriptor[])

 

Returns the System.ComponentModel.PropertyDescriptorCollection that represents the properties on each item used to bind data.

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

public PropertyDescriptorCollection GetItemProperties(
	PropertyDescriptor[] listAccessors
)

Parameters

listAccessors
Type: System.ComponentModel.PropertyDescriptor[]

An array of System.ComponentModel.PropertyDescriptor objects that contains the list name returned. This can be null.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

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

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.

.NET Framework
Available since 1.1
Return to top
Show: