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.

適用於