ODataMessageReaderSettings.DisablePrimitiveTypeConversion 屬性
取得或設定值,這個值指示是否不要將所有基本值轉換為裝載中指定的型別。
命名空間: Microsoft.Data.OData
組件: Microsoft.Data.OData (在 Microsoft.Data.OData.dll 中)
語法
'宣告
Public Property DisablePrimitiveTypeConversion As Boolean
Get
Set
'用途
Dim instance As ODataMessageReaderSettings
Dim value As Boolean
value = instance.DisablePrimitiveTypeConversion
instance.DisablePrimitiveTypeConversion = value
public bool DisablePrimitiveTypeConversion { get; set; }
public:
property bool DisablePrimitiveTypeConversion {
bool get ();
void set (bool value);
}
member DisablePrimitiveTypeConversion : bool with get, set
function get DisablePrimitiveTypeConversion () : boolean
function set DisablePrimitiveTypeConversion (value : boolean)
屬性值
型別:System.Boolean
如果不轉換基本值和報告值則為 true,如果所有基本值都要轉換為裝載中指定的型別則為 false。預設值為 false。