Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Property Method As HttpMethod 
    Get 
    Set
'Usage
Dim instance As HttpRequestMessage 
Dim value As HttpMethod 
value = instance.Method
instance.Method = value
public HttpMethod Method { get; set; }
public:
property HttpMethod^ Method {
    HttpMethod^ get ();
    void set (HttpMethod^ value);
}
member Method : HttpMethod with get, set
function get Method () : HttpMethod 
function set Method (value : HttpMethod)
Property Value
Type: System.Net.Http.HttpMethod