ListBindingHelper ListBindingHelper ListBindingHelper ListBindingHelper Class

定义

提供用于发现可绑定列表的功能,当该列表中包含的项的属性与这些项要绑定到的对象的公共属性不同时,还提供相应的功能用于发现这些项的属性。Provides functionality to discover a bindable list and the properties of the items contained in the list when they differ from the public properties of the object to which they bind.

public ref class ListBindingHelper abstract sealed
public static class ListBindingHelper
type ListBindingHelper = class
Public Class ListBindingHelper
继承
ListBindingHelperListBindingHelperListBindingHelperListBindingHelper

注解

此类由类如BindingSourceThis class is used by classes such as BindingSource.

请注意,对于智能手机应用程序,此类需要 Windows Mobile 版本 5.0 软件智能手机。Note that for Smartphone applications, this class requires Windows Mobile Version 5.0 software for Smartphones.

方法

GetList(Object) GetList(Object) GetList(Object) GetList(Object)

返回与指定数据源相关联的列表。Returns a list associated with the specified data source.

GetList(Object, String) GetList(Object, String) GetList(Object, String) GetList(Object, String)

通过对指定数据源和可选数据成员进行求值来返回一个对象(通常为列表)。Returns an object, typically a list, from the evaluation of a specified data source and optional data member.

GetListItemProperties(Object) GetListItemProperties(Object) GetListItemProperties(Object) GetListItemProperties(Object)

返回 PropertyDescriptorCollection,它描述指定数据源包含的项类型的属性或指定的数据源的属性。Returns the PropertyDescriptorCollection that describes the properties of an item type contained in a specified data source, or properties of the specified data source.

GetListItemProperties(Object, PropertyDescriptor[]) GetListItemProperties(Object, PropertyDescriptor[]) GetListItemProperties(Object, PropertyDescriptor[]) GetListItemProperties(Object, PropertyDescriptor[])

返回 PropertyDescriptorCollection,它描述数据源的集合属性中包含的项类型的属性。Returns the PropertyDescriptorCollection that describes the properties of an item type contained in a collection property of a data source. 可使用指定的 PropertyDescriptor 数组指示要检查的属性。Uses the specified PropertyDescriptor array to indicate which properties to examine.

GetListItemProperties(Object, String, PropertyDescriptor[]) GetListItemProperties(Object, String, PropertyDescriptor[]) GetListItemProperties(Object, String, PropertyDescriptor[]) GetListItemProperties(Object, String, PropertyDescriptor[])

返回 PropertyDescriptorCollection,它描述数据源的指定数据成员中包含的项类型的属性。Returns the PropertyDescriptorCollection that describes the properties of an item type contained in the specified data member of a data source. 可使用指定的 PropertyDescriptor 数组指示要检查的属性。Uses the specified PropertyDescriptor array to indicate which properties to examine.

GetListItemType(Object) GetListItemType(Object) GetListItemType(Object) GetListItemType(Object)

返回指定的列表中的项的数据类型。Returns the data type of the items in the specified list.

GetListItemType(Object, String) GetListItemType(Object, String) GetListItemType(Object, String) GetListItemType(Object, String)

返回指定的数据源中的项的数据类型。Returns the data type of the items in the specified data source.

GetListName(Object, PropertyDescriptor[]) GetListName(Object, PropertyDescriptor[]) GetListName(Object, PropertyDescriptor[]) GetListName(Object, PropertyDescriptor[])

基于数据源和可选 PropertyDescriptor 数组返回基础列表名称。Returns the name of an underlying list, given a data source and optional PropertyDescriptor array.

适用于