Table of Contents

Method MapProperty

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

MapProperty(string)

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

public BsonMemberMap MapProperty(string propertyName)

Parameters

propertyName string

The name of the property.

Returns

BsonMemberMap

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