TableCellCollection.Remove(TableCell) 方法

定义

从集合中删除指定项。

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

参数

item
TableCell

要从集合中删除的项。

返回

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

实现

例外

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

当为 null 时 item 引发。

注解

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

适用于

另请参阅