asp.net.ph

Request.RequestType Property

System.Web Namespace   HttpRequest Class


Sets or retrieves the HTTP data transfer method ( GET or POST ) used by the client.

[ VB ]
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 shows the simplest way to retrieve and display the RequestType for the current URL request.

<%= Request.RequestType %>

 Show me 

See Also

Request.HttpMethod   HttpRequest Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph