DataContractJsonSerializerSettings.SerializeReadOnlyTypes Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that specifies whether to serialize read only types.
Namespace: System.Runtime.Serialization.Json
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
Syntax
Public Property SerializeReadOnlyTypes As Boolean
public bool SerializeReadOnlyTypes { get; set; }
Property Value
Type: System..::.Boolean
True to serialize read only types; otherwise false.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0