BsonClassMap.UnmapField Method (original) (raw)

BsonClassMapUnmapField Method

Removes the member map for a field from the class map.

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

C#

VB

F#

Copy

public void UnmapField( string fieldName )

Public Sub UnmapField ( fieldName As String )

member UnmapField : fieldName : string -> unit

Parameters

fieldName

Type: SystemString
The name of the field.

See Also

Reference

BsonClassMap Class

MongoDB.Bson.Serialization Namespace