Condividi tramite


HttpRequestMessage.Version Property

Gets or sets the HTTP message version.

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

Syntax

'Declaration
Public Property Version As Version 
    Get 
    Set
'Usage
Dim instance As HttpRequestMessage 
Dim value As Version 

value = instance.Version

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

Property Value

Type: System.Version

See Also

Reference

HttpRequestMessage Class

System.Net.Http Namespace