语言

TableRowCollection.Remove(TableRow) 方法

定义

从集合中删除指定项。

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

参数

item
TableRow

要从集合中删除的项。

返回

true 如果找到并删除了指定的项,则为 ;否则,为 false.

实现

例外

如果集合中不存在 项 ,则引发。

当项为 null 时引发。

注解

可以调整剩余集合项的索引以反映已删除的集合项。

适用于

另请参阅