HttpRequest.RequestType Property
.NET Framework 3.0
Gets or sets the HTTP data transfer method (GET or POST) used by the client.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public String get_RequestType () /** @property */ public void set_RequestType (String value)
public function get RequestType () : String public function set RequestType (value : String)
Not applicable.
Property Value
A string representing the HTTP invocation type sent by the client.The following code example uses the HtmlEncode method to HTML-encode the value of the RequestType property and the WriteLine method to write the encoded value to the file. This code example is part of a larger example provided for the HttpRequest class.
Community Additions
ADD
Show: