共用方式為


ISerializationWriter Interface

Definition

The interface for defining writers capable of serializing data into various formats.

public interface ISerializationWriter
type ISerializationWriter = interface
Public Interface ISerializationWriter

Methods

WriteEndObject()

Marks ending of a complex object.

WriteProperty(ISerializableWithWriter)

Writes value ISerializableWithWriter field.

WriteProperty(String, IDictionary<String,Double>)

Writes name and value for a IDictionary field with string,string as key,value.

WriteProperty(String, IDictionary<String,String>)

Writes name and value for a IDictionary field with string,string as key,value.

WriteProperty(String, IList<ISerializableWithWriter>)

Writes name and values for a IList field of objects implementing ISerializableWithWriter.

WriteProperty(String, IList<String>)

Writes name and values for a IList field of strings.

WriteProperty(String, ISerializableWithWriter)

Writes name and value for a ISerializableWithWriter field.

WriteProperty(String, Nullable<Boolean>)

Writes name and value for a boolean field.

WriteProperty(String, Nullable<DateTimeOffset>)

Writes name and value for a DateTimeOffset field.

WriteProperty(String, Nullable<Double>)

Writes name and value for a double field.

WriteProperty(String, Nullable<Int32>)

Writes name and value for a int field.

WriteProperty(String, Nullable<TimeSpan>)

Writes name and value for a TimeSpan field.

WriteProperty(String, String)

Writes name and value for a string field.

WriteStartObject()

Marks beginning of a complex object.

WriteStartObject(String)

Marks beginning of a complex object.

Applies to