語言

ListViewDeletedEventArgs(Int32, Exception) 建構函式

定義

初始化 ListViewDeletedEventArgs 類別的新執行個體。

public:
 ListViewDeletedEventArgs(int affectedRows, Exception ^ exception);
public ListViewDeletedEventArgs(int affectedRows, Exception exception);
new System.Web.UI.WebControls.ListViewDeletedEventArgs : int * Exception -> System.Web.UI.WebControls.ListViewDeletedEventArgs
Public Sub New (affectedRows As Integer, exception As Exception)

參數

affectedRows
Int32

受刪除操作影響的列數。

exception
Exception

刪除操作執行時所提出的例外(如果有的話)。 若無例外,則使用 null。

備註

你可以用這個建構子初始化該類別的新實例 ListViewDeletedEventArgs 。

Note

這個建構器主要供控制開發者在事件提出時使用。

下表顯示該 ListViewDeletedEventArgs 類別實例的初始屬性值。

房產 初始值
AffectedRows 參數的 affectedRows 值。
Exception 參數的 e 值。
ExceptionHandled false。

適用於

另請參閱