DataContractSerializer.SerializeReadOnlyTypes 属性

定义

获取一个值,该值指定是否序列化只读类型。

public:
 property bool SerializeReadOnlyTypes { bool get(); };
public bool SerializeReadOnlyTypes { get; }
member this.SerializeReadOnlyTypes : bool
Public ReadOnly Property SerializeReadOnlyTypes As Boolean

属性值

如果序列化只读类型,则为 如果序列化了所有类型,则为

适用于