ListView.DeleteMethod 屬性

定義

為了刪除資料,取得或設定要呼叫的方法名稱。

public:
 virtual property System::String ^ DeleteMethod { System::String ^ get(); void set(System::String ^ value); };
[System.Web.UI.Themeable(false)]
[System.Web.WebCategory("Data")]
[System.Web.WebSysDescription("DataBoundControl_DeleteMethod")]
public virtual string DeleteMethod { get; set; }
[<System.Web.UI.Themeable(false)>]
[<System.Web.WebCategory("Data")>]
[<System.Web.WebSysDescription("DataBoundControl_DeleteMethod")>]
member this.DeleteMethod : string with get, set
Public Overridable Property DeleteMethod As String

屬性值

String

方法的名稱。

屬性
ThemeableAttribute WebCategoryAttribute System.Web.WebSysDescriptionAttribute

備註

設定此屬性會導致模型系結當做資料系結方法使用。

如需搭配Web Form使用模型系結的教學課程系列,請參閱模型系結和Web Form

適用於