TableRowCollection.Contains(TableRow) Method

Definition

查询集合中是否存在指定的项。Queries for the presence of a specified item in the collection.

public:
 virtual bool Contains(System::Windows::Documents::TableRow ^ item);
public bool Contains (System.Windows.Documents.TableRow item);
abstract member Contains : System.Windows.Documents.TableRow -> bool
override this.Contains : System.Windows.Documents.TableRow -> bool
Public Function Contains (item As TableRow) As Boolean

Parameters

item
TableRow

要查询是否存在于集合中的项。An item to query for the presence of in the collection.

Returns

Boolean

如果集合中有指定的项,则为 true;否则为 falsetrue if the specified item is present in the collection; otherwise, false.

Implements

Applies to