語言

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 不在收藏中,則為升起。

當 為無效時 item ,會被提高。

備註

剩餘的收款項目索引可能會調整以反映已移除的收款項目。

適用於

另請參閱