获取或设置要用于写入负载的 OData 协议版本。
命名空间: Microsoft.Data.OData
程序集: Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)
语法
声明
Public Property Version As Nullable(Of ODataVersion)
Get
Set
用法
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>)
属性值
类型:System.Nullable<ODataVersion>
要用于写入负载的 OData 协议版本。