Table of Contents

Method MapIdMember

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

MapIdMember(MemberInfo)

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

public BsonMemberMap MapIdMember(MemberInfo memberInfo)

Parameters

memberInfo MemberInfo

The member info for the Id member.

Returns

BsonMemberMap

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