Share via


HttpMethod.Head Property

Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body.

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

Syntax

'Declaration
Public Shared ReadOnly Property Head As HttpMethod 
    Get
'Usage
Dim value As HttpMethod 

value = HttpMethod.Head
public static HttpMethod Head { get; }
public:
static property HttpMethod^ Head {
    HttpMethod^ get ();
}
static member Head : HttpMethod
static function get Head () : HttpMethod

Property Value

Type: System.Net.Http.HttpMethod

See Also

Reference

HttpMethod Class

System.Net.Http Namespace