ListControl.FilterItemOnProperty 方法

定义

如果 ListControl 项是 ListControl 类的实例的属性,则返回该项的当前值。Returns the current value of the ListControl item, if the item is a property of an instance of the ListControl class.

重载

FilterItemOnProperty(Object, String)

如果 ListControl 项是被给定了该项以及属性名称的对象的属性,则返回该项的当前值。Returns the current value of the ListControl item, if it is a property of an object given the item and the property name.

FilterItemOnProperty(Object)

如果 ListControl 项是被给定了该项的对象的属性,则检索该项的当前值。Retrieves the current value of the ListControl item, if it is a property of an object, given the item.

FilterItemOnProperty(Object, String)

如果 ListControl 项是被给定了该项以及属性名称的对象的属性,则返回该项的当前值。Returns the current value of the ListControl item, if it is a property of an object given the item and the property name.

protected:
 System::Object ^ FilterItemOnProperty(System::Object ^ item, System::String ^ field);
protected object FilterItemOnProperty (object item, string field);
member this.FilterItemOnProperty : obj * string -> obj
Protected Function FilterItemOnProperty (item As Object, field As String) As Object

参数

item
Object

ListControl 项绑定到的对象。The object the ListControl item is bound to.

field
String

ListControl 绑定到的项的属性名称。The property name of the item the ListControl is bound to.

返回

经过筛选的对象。The filtered object.

FilterItemOnProperty(Object)

如果 ListControl 项是被给定了该项的对象的属性,则检索该项的当前值。Retrieves the current value of the ListControl item, if it is a property of an object, given the item.

protected:
 System::Object ^ FilterItemOnProperty(System::Object ^ item);
protected object FilterItemOnProperty (object item);
member this.FilterItemOnProperty : obj -> obj
Protected Function FilterItemOnProperty (item As Object) As Object

参数

item
Object

ListControl 项绑定到的对象。The object the ListControl item is bound to.

返回

经过筛选的对象。The filtered object.

适用于