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.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public static IEnumerable<BsonDocumentWrapper> CreateMultiple(
Type nominalType,
IEnumerable values
)
Public Shared Function CreateMultiple (
nominalType As Type,
values As IEnumerable
) As IEnumerable(Of BsonDocumentWrapper)
static member CreateMultiple :
nominalType : Type *
values : IEnumerable -> IEnumerable<BsonDocumentWrapper>
Parameters
- nominalType
- Type: SystemType
The nominal type of the wrapped object. - values
- Type: System.CollectionsIEnumerable
A list of wrapped objects.
Return Value
Type:
IEnumerableBsonDocumentWrapperA list of BsonDocumentWrappers.
See Also