C# Class CSMongo.Bson.BsonDocument

Creates a BSON document where the field order is managed
Inheritance: BsonObject
Afficher le fichier Open project: hugoware/CSMongo Class Usage Examples

Méthodes publiques

Méthode Description
BsonDocument ( ) : System

Creates a new empty BSON document

BsonDocument ( object source ) : System

Creates a new BSON document based on the source provided

FromStream ( Stream stream ) : BsonDocument

Reads an incoming BSON document from a stream

ToBsonByteArray ( ) : byte[]

Renders the bytes required to create a document

operator ( ) : BsonDocument

Merges another object with this object - Same as calling Merge

Method Details

BsonDocument() public méthode

Creates a new empty BSON document
public BsonDocument ( ) : System
Résultat System

BsonDocument() public méthode

Creates a new BSON document based on the source provided
public BsonDocument ( object source ) : System
source object
Résultat System

FromStream() public static méthode

Reads an incoming BSON document from a stream
public static FromStream ( Stream stream ) : BsonDocument
stream System.IO.Stream
Résultat BsonDocument

ToBsonByteArray() public méthode

Renders the bytes required to create a document
public ToBsonByteArray ( ) : byte[]
Résultat byte[]

operator() public static méthode

Merges another object with this object - Same as calling Merge
public static operator ( ) : BsonDocument
Résultat BsonDocument