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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
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