TableRowCollection.Remove(TableRow) 方法

定義

從集合中移除指定的項目。

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

參數

item
TableRow

要從集合中移除的項目。

傳回

Boolean

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

實作

例外狀況

當集合中沒有 item 時引發。

當項目為 null 時引發。

備註

剩餘集合專案的索引可以調整以反映已移除的收集項目。

適用於

另請參閱