BsonSerializationInfoCreateWithPath Method |
Creates a new instance of the BsonSerializationinfo class with an element path instead of an element name.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public static BsonSerializationInfo CreateWithPath(
IEnumerable<string> elementPath,
IBsonSerializer serializer,
Type nominalType
)
Public Shared Function CreateWithPath (
elementPath As IEnumerable(Of String),
serializer As IBsonSerializer,
nominalType As Type
) As BsonSerializationInfo
static member CreateWithPath :
elementPath : IEnumerable<string> *
serializer : IBsonSerializer *
nominalType : Type -> BsonSerializationInfo
Parameters
- elementPath
- Type: System.Collections.GenericIEnumerableString
The element path. - serializer
- Type: MongoDB.Bson.SerializationIBsonSerializer
The serializer. - nominalType
- Type: SystemType
The nominal type.
Return Value
Type:
BsonSerializationInfoA BsonSerializationInfo.
See Also