다음을 통해 공유


FormMethod 열거형

정의

주의

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 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 ASP.NETMobile Apps & 사이트를 참조하세요.

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
상속
FormMethod
특성

필드

Name Description
Get 0

GET 요청을 사용하여 양식을 제출합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 ASP.NETMobile Apps & 사이트를 참조하세요.

Post 1

POST 요청을 사용하여 양식을 제출합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 ASP.NETMobile Apps & 사이트를 참조하세요.

설명

열거형은 FormMethod 양식을 제출하는 방법을 나타냅니다. 폼의 속성이 Method 설정된 경우 GET 요청은 게시할 Get수 있는 데이터 양으로 제한됩니다. GET 요청을 사용할 때 일부 유형의 포스트백이 실패할 수 있습니다. GET 요청을 사용할 경우의 장점은 모든 매개 변수가 URL의 일부로 지정되고 URL을 캐시하거나 저장할 수 있다는 것입니다.

적용 대상