Class BsonBinaryWriterSettings
Represents settings for a BsonBinaryWriter.
[Serializable]
public class BsonBinaryWriterSettings : BsonWriterSettings
- Inheritance
-
BsonBinaryWriterSettings
- Inherited Members
- Extension Methods
Constructors
BsonBinaryWriterSettings()
Initializes a new instance of the BsonBinaryWriterSettings class.
public BsonBinaryWriterSettings()
Properties
Defaults
Gets or sets the default BsonBinaryWriter settings.
public static BsonBinaryWriterSettings Defaults { get; set; }
Property Value
Encoding
Gets or sets the Encoding.
public UTF8Encoding Encoding { get; set; }
Property Value
FixOldBinarySubTypeOnOutput
Gets or sets whether to fix the old binary data subtype on output.
public bool FixOldBinarySubTypeOnOutput { get; set; }
Property Value
MaxDocumentSize
Gets or sets the max document size.
public int MaxDocumentSize { get; set; }
Property Value
Methods
Clone()
Creates a clone of the settings.
public BsonBinaryWriterSettings Clone()
Returns
- BsonBinaryWriterSettings
A clone of the settings.
CloneImplementation()
Creates a clone of the settings.
protected override BsonWriterSettings CloneImplementation()
Returns
- BsonWriterSettings
A clone of the settings.