Table of Contents

Method CreateWithPath

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

CreateWithPath(IEnumerable<string>, IBsonSerializer, Type)

Creates a new instance of the BsonSerializationinfo class with an element path instead of an element name.

public static BsonSerializationInfo CreateWithPath(IEnumerable<string> elementPath, IBsonSerializer serializer, Type nominalType)

Parameters

elementPath IEnumerable<string>

The element path.

serializer IBsonSerializer

The serializer.

nominalType Type

The nominal type.

Returns

BsonSerializationInfo

A BsonSerializationInfo.