JsonMediaTypeFormatter.UseDataContractJsonSerializer Property
Gets or sets a value indicating whether to use DataContractJsonSerializer by default.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Property UseDataContractJsonSerializer As Boolean
Get
Set
'Usage
Dim instance As JsonMediaTypeFormatter
Dim value As Boolean
value = instance.UseDataContractJsonSerializer
instance.UseDataContractJsonSerializer = value
public bool UseDataContractJsonSerializer { get; set; }
public:
property bool UseDataContractJsonSerializer {
bool get ();
void set (bool value);
}
member UseDataContractJsonSerializer : bool with get, set
function get UseDataContractJsonSerializer () : boolean
function set UseDataContractJsonSerializer (value : boolean)
Property Value
Type: System.Boolean
true if to DataContractJsonSerializer by default; otherwise, false.