Class BsonWriter
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
[System.Obsolete("BSON reading and writing has been moved to its own package. See https://www.nuget.org/packages/Newtonsoft.Json.Bson for more details.")]
public class BsonWriter : Newtonsoft.Json.JsonWriter
Constructors
BsonWriter(BinaryWriter)
BsonWriter(Stream)
Properties
DateTimeKindHandling
Methods
Close()
Declaration
public override void Close ();
Flush()
Declaration
public override void Flush ();
WriteComment(String)
WriteEnd(JsonToken)
Declaration
protected override void WriteEnd (Newtonsoft.Json.JsonToken token);
Parameters
JsonToken
token
|
WriteNull()
Declaration
public override void WriteNull ();
WriteObjectId(Byte[])
WritePropertyName(String)
WriteRaw(String)
WriteRawValue(String)
WriteRegex(String, String)
Declaration
public void WriteRegex (string pattern, string options);
Parameters
String
pattern
|
String
options
|
WriteStartArray()
Declaration
public override void WriteStartArray ();
WriteStartConstructor(String)
WriteStartObject()
Declaration
public override void WriteStartObject ();
WriteUndefined()
Declaration
public override void WriteUndefined ();
WriteValue(UInt32)
Declaration
[System.CLSCompliant(false)]
public override void WriteValue (uint value);
Parameters
UInt32
value
|
WriteValue(UInt16)
Declaration
[System.CLSCompliant(false)]
public override void WriteValue (ushort value);
Parameters
UInt16
value
|
WriteValue(TimeSpan)
WriteValue(String)
WriteValue(Single)
WriteValue(SByte)
Declaration
[System.CLSCompliant(false)]
public override void WriteValue (sbyte value);
Parameters
SByte
value
|
WriteValue(Object)
WriteValue(Int64)
WriteValue(Int32)
WriteValue(Byte)
WriteValue(Guid)
WriteValue(Double)
WriteValue(Decimal)
WriteValue(DateTimeOffset)
WriteValue(DateTime)
WriteValue(Char)
WriteValue(Byte[])
WriteValue(UInt64)
Declaration
[System.CLSCompliant(false)]
public override void WriteValue (ulong value);
Parameters
UInt64
value
|