Form.Action 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定表單提交的網址。 預設值是空字串 ("")。 這個 API 已經過時了。 如需如何開發 ASP.NET 行動應用程式的詳細資訊,請參閱 Mobile Apps & Sites with 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
屬性值
表單提交的網址。
- 屬性
備註
預設值為空字串(“”),會使回傳至包含當前表單的頁面。 你可以覆寫預設值,將表單提交到不同的網址。