Share via


ODataMessageWriterSettings.Version Property

Gets or sets the OData protocol version to be used for writing payloads.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Property Version As Nullable(Of ODataVersion)
    Get 
    Set
'Usage
Dim instance As ODataMessageWriterSettings 
Dim value As Nullable(Of ODataVersion)

value = instance.Version

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

Property Value

Type: System.Nullable<ODataVersion>
The OData protocol version to be used for writing payloads.

See Also

Reference

ODataMessageWriterSettings Class

Microsoft.Data.OData Namespace