This documentation is archived and is not being maintained.
HttpRequest.RequestType Property
.NET Framework 1.1
Gets or sets the HTTP data transfer method (GET or POST) used by the client.
[Visual Basic] Public Property RequestType As String [C#] public string RequestType {get; set;} [C++] public: __property String* get_RequestType(); public: __property void set_RequestType(String*); [JScript] public function get RequestType() : String; public function set RequestType(String);
Property Value
A String representing the HTTP invocation type sent by the client.
Example
The following example assigns a value representing the HTTP request type to a string variable.
[Visual Basic] Dim str As String str = Request.RequestType [C#] String str; str = Request.RequestType; [C++] String* str; str = Request->RequestType; [JScript] var str : String = Request.RequestType
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpRequest Class | HttpRequest Members | System.Web Namespace
Show: