ListViewPagedDataSource.GetItemProperties(PropertyDescriptor[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a PropertyDescriptorCollection object that represents the properties that are used to bind data.
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetItemProperties(cli::array <System::ComponentModel::PropertyDescriptor ^> ^ listAccessors);
public System.ComponentModel.PropertyDescriptorCollection GetItemProperties (System.ComponentModel.PropertyDescriptor[] listAccessors);
abstract member GetItemProperties : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetItemProperties : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetItemProperties (listAccessors As PropertyDescriptor()) As PropertyDescriptorCollection
Parameters
- listAccessors
- PropertyDescriptor[]
An array of PropertyDescriptor objects to find in the collection as bindable. This can be null
.
Returns
The PropertyDescriptorCollection object that represents the properties that are used to bind data.
Implements
Remarks
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.