HttpRequestMessage.Method Właściwość

Definicja

Pobiera lub ustawia metodę HTTP używaną przez komunikat żądania HTTP.

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

Wartość właściwości

Metoda HTTP używana przez komunikat żądania. Wartością domyślną jest metoda GET.

Dotyczy