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.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈