Method MapExtraElementsField

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization

Assembly

MongoDB.Bson.dll

MapExtraElementsField(string)

Creates a member map for the extra elements field and adds it to the class map.

public BsonMemberMap MapExtraElementsField(string fieldName)

Parameters

fieldName string

The name of the extra elements field.

Returns

BsonMemberMap

The member map (so method calls can be chained).