Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PagedDataSource.GetItemProperties Method

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.

Implements

ITypedList.GetItemProperties(PropertyDescriptor[])

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

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