TableCellCollection.Remove(TableCell) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中删除指定项。
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 引发。
注解
可以调整剩余集合项的索引以反映已删除的集合项。