FormMethod 列挙型
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
フォームの送信の種類を GET 要求または POST 要求として指定します。 このクラスは継承できません。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。
public enum class FormMethod
public enum FormMethod
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public enum FormMethod
type FormMethod =
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type FormMethod =
Public Enum FormMethod
- 継承
- 属性
名前 | 値 | 説明 |
---|---|---|
Get | 0 | GET 要求を使用してフォームを送信します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。 |
Post | 1 | POST 要求を使用してフォームを送信します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。 |
列挙体は FormMethod 、フォームを送信する方法を表します。 フォームの プロパティが Method に Get
設定されている場合、GET 要求は、投稿できるデータの量に制限されます。 GET 要求を使用すると、一部の種類のポストバックが失敗することがあります。 GET 要求を使用する利点は、すべてのパラメーターが URL の一部として指定され、URL をキャッシュまたは保存できることです。
製品 | バージョン (廃止) |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。