TableRowCollection.Remove(TableRow) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中删除指定项。
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
要从集合中删除的项。
返回
true 如果找到并删除了指定的项,则为 ;否则,为 false.
实现
例外
如果集合中不存在 项 ,则引发。
当项为 null 时引发。
注解
可以调整剩余集合项的索引以反映已删除的集合项。