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

要從集合中移除的項目。

傳回

Boolean

如果找到並移除指定的項目,則為 true,否則為 false

實作

例外狀況

item 不存在於集合時引發。

item 為 null 時引發。

備註

剩餘集合專案的索引可能會進行調整,以反映已移除的集合專案。

適用於

另請參閱