HttpRequestBase::HttpMethod Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, gets the HTTP data-transfer method (such as GET, POST, or HEAD) that was used by the client.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property String^ HttpMethod {
	virtual String^ get();
}

Property Value

Type: System::String^

The HTTP data-transfer method that was used by the client.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: