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 不在收藏中,則為升起。
當 為無效時 item ,會被提高。
備註
剩餘的收款項目索引可能會調整以反映已移除的收款項目。