PagedDataSourceGetItemProperties Method
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the System.ComponentModelPropertyDescriptorCollection 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
)
public:
virtual PropertyDescriptorCollection^ GetItemProperties(
	array<PropertyDescriptor^>^ listAccessors
) sealed
abstract GetItemProperties : 
        listAccessors:PropertyDescriptor[] -> PropertyDescriptorCollection
override GetItemProperties : 
        listAccessors:PropertyDescriptor[] -> PropertyDescriptorCollection
Public Function GetItemProperties (
	listAccessors As PropertyDescriptor()
) As PropertyDescriptorCollection

Parameters

listAccessors
Type:

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

Return Value

Type:

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

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

.NET Framework
Available since 1.1
Return to top