Partager via


HttpRequestHeaders.Host Property

Gets or sets {insert text here}.

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

Syntax

'Declaration
Public Property Host As String 
    Get 
    Set
'Usage
Dim instance As HttpRequestHeaders 
Dim value As String 

value = instance.Host

instance.Host = value
public string Host { get; set; }
public:
property String^ Host {
    String^ get ();
    void set (String^ value);
}
member Host : string with get, set
function get Host () : String 
function set Host (value : String)

Property Value

Type: System.String

See Also

Reference

HttpRequestHeaders Class

System.Net.Http.Headers Namespace