Click or drag to resize

BsonDocumentWrapperCreateMultiple Method (Type, IEnumerable)

Creates a list of new instances of the BsonDocumentWrapper class.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public static IEnumerable<BsonDocumentWrapper> CreateMultiple(
	Type nominalType,
	IEnumerable values
)

Parameters

nominalType
Type: SystemType
The nominal type of the wrapped object.
values
Type: System.CollectionsIEnumerable
A list of wrapped objects.

Return Value

Type: IEnumerableBsonDocumentWrapper
A list of BsonDocumentWrappers.
See Also