HttpRequestMessage::Method Property

Gets or sets the HTTP method used by the HTTP request message.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
property HttpMethod^ Method {
	HttpMethod^ get ();
	void set (HttpMethod^ value);
}

Property Value

Type: System.Net.Http::HttpMethod
Show: