SerializeReadOnlyTypes Property
Collapse the table of content
Expand the table of content

DataContractJsonSerializer.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)

public bool SerializeReadOnlyTypes { get; }

Property Value

Type: System.Boolean
true to serialize read only types; otherwise false.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft