Form.Method プロパティ

定義

フォームの送信に使用するメソッドを取得または設定します。 既定値は post です。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

public:
 property System::Web::UI::MobileControls::FormMethod Method { System::Web::UI::MobileControls::FormMethod get(); void set(System::Web::UI::MobileControls::FormMethod value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.MobileControls.FormMethod Method { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Method : System.Web.UI.MobileControls.FormMethod with get, set
Public Property Method As FormMethod

プロパティ値

フォームの送信に使用するメソッド。

属性

注釈

get要求は、投稿できるデータの量に制限があります。 get要求を使用すると、一部の種類のポストバックが失敗することがあります。 get要求の利点は、すべてのパラメーターが URL の一部として指定され、URL をキャッシュまたは保存できることです。 post要求の要素は、HttpRequest.Form内に含まれます。

適用対象

こちらもご覧ください