共用方式為


QueryableDataSourceView.DeleteObject(Object) 方法

定義

從資料表刪除資料物件。

protected:
 virtual int DeleteObject(System::Object ^ oldEntity);
protected virtual int DeleteObject (object oldEntity);
abstract member DeleteObject : obj -> int
override this.DeleteObject : obj -> int
Protected Overridable Function DeleteObject (oldEntity As Object) As Integer

參數

oldEntity
Object

要刪除的資料物件。

傳回

Int32

已從資料物件刪除的資料列數目。

適用於