Uređivanje

Dijeli putem


HttpRequestMessage.Method Property

Definition

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

public:
 property System::Net::Http::HttpMethod ^ Method { System::Net::Http::HttpMethod ^ get(); void set(System::Net::Http::HttpMethod ^ value); };
public System.Net.Http.HttpMethod Method { get; set; }
member this.Method : System.Net.Http.HttpMethod with get, set
Public Property Method As HttpMethod

Property Value

The HTTP method used by the request message. The default is the GET method.

Applies to