ListView.DeleteMethod 属性
定义
获取或设置为了删除数据要调用的方法的名称。Gets or sets the name of the method to call in order to delete data.
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
属性值
方法的名称。The name of the method.
- 属性
注解
设置此属性将导致模型绑定用作数据绑定方法。Setting this property causes model binding to be used as the data-binding method.
有关如何在 Web 窗体中使用模型绑定的教程系列,请参阅 模型绑定和 Web 窗体。For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.