DataContractJsonSerializer.SerializeReadOnlyTypes 属性       
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置指定是否序列化只读类型的值。
public:
 property bool SerializeReadOnlyTypes { bool get(); };public bool SerializeReadOnlyTypes { get; }member this.SerializeReadOnlyTypes : boolPublic ReadOnly Property SerializeReadOnlyTypes As Boolean属性值
仅序列化读取类型,则为 true;否则 false。