DataContractJsonSerializerSettings.IgnoreExtensionDataObject 属性

定义

获取或设置一个值,该值指定在对类进行序列化或反序列化时是否要忽略由该类扩展提供的数据。Gets or sets a value that specifies whether to ignore data supplied by an extension of the class when the class is being serialized or deserialized.

public:
 property bool IgnoreExtensionDataObject { bool get(); void set(bool value); };
public bool IgnoreExtensionDataObject { get; set; }
member this.IgnoreExtensionDataObject : bool with get, set
Public Property IgnoreExtensionDataObject As Boolean

属性值

Boolean

如果在对该类进行序列化或反序列化时忽略由该类的扩展提供的数据,则为 true,否则为 falsetrue to ignore data supplied by an extension of the class when the class is being serialized or deserialized; otherwise, false.

适用于