Method MapExtraElementsProperty

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

Namespace

MongoDB.Bson.Serialization

Assembly

MongoDB.Bson.dll

MapExtraElementsProperty(string)

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

public BsonMemberMap MapExtraElementsProperty(string propertyName)

Parameters

propertyName string

The name of the property.

Returns

BsonMemberMap

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