Form.Action 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置表单提交到的 URL。 默认值为空字符串 ("")。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅具有 ASP.NET的移动应用 & 网站
public:
property System::String ^ Action { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string Action { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Action : string with get, set
Public Property Action As String
属性值
将表单提交到的 URL。
- 属性
注解
默认值为空字符串(“”),会导致回发到包含当前窗体的页面。 可以重写默认值以将表单提交到其他 URL。