This documentation is archived and is not being maintained.

PagedDataSource.GetItemProperties Method

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

[Visual Basic]
Public Overridable Function GetItemProperties( _
   ByVal listAccessors() As PropertyDescriptor _
) As PropertyDescriptorCollection Implements ITypedList.GetItemProperties
[C#]
public virtual PropertyDescriptorCollection GetItemProperties(
 PropertyDescriptor[] listAccessors
);
[C++]
public: virtual PropertyDescriptorCollection* GetItemProperties(
 PropertyDescriptor* listAccessors[]
);
[JScript]
public function GetItemProperties(
   listAccessors : PropertyDescriptor[]
) : PropertyDescriptorCollection;

Parameters

listAccessors
An array of System.ComponentModel.PropertyDescriptor objects, which contains the list name returned. This can be a null reference (Nothing in Visual Basic).

Return Value

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

Implements

ITypedList.GetItemProperties

Remarks

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 a null reference (Nothing in Visual Basic) or is not a System.ComponentModel.ITypedList implemented object, a null reference (Nothing) is returned. For more information on the GetItemProperties method, see ITypedList.GetItemProperties.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

PagedDataSource Class | PagedDataSource Members | System.Web.UI.WebControls Namespace | System.ComponentModel.ITypedList | System.ComponentModel.PropertyDescriptorCollection | System.ComponentModel.PropertyDescriptor | ITypedList.GetItemProperties

Show: