Table of Contents

Method MapExtraElementsMember

Namespace
MongoDB.Bson.Serialization
Assembly
MongoDB.Bson.dll

MapExtraElementsMember<TMember>(Expression<Func<TClass, TMember>>)

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

public BsonMemberMap MapExtraElementsMember<TMember>(Expression<Func<TClass, TMember>> memberLambda)

Parameters

memberLambda Expression<Func<TClass, TMember>>

A lambda expression specifying the extra elements member.

Returns

BsonMemberMap

The member map.

Type Parameters

TMember

The member type.