MSDN Library

XmlMediaTypeFormatter.UseDataContractSerializer Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value indicating whether to use DataContractSerializer by default.

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

public bool UseDataContractSerializer { get; set; }

Property Value

Type: System.Boolean

© 2016 Microsoft