UpdateDefinitionBuilder<TDocument>.PullAll<TItem> Method (FieldDefinition<TDocument>, IEnumerable<TItem>) |
Creates a pull operator.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public UpdateDefinition<TDocument> PullAll<TItem>(
FieldDefinition<TDocument> field,
IEnumerable<TItem> values
)
Public Function PullAll(Of TItem) (
field As FieldDefinition(Of TDocument),
values As IEnumerable(Of TItem)
) As UpdateDefinition(Of TDocument)
member PullAll :
field : FieldDefinition<'TDocument> *
values : IEnumerable<'TItem> -> UpdateDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.Driver.FieldDefinition<TDocument>
The field. - values
- Type: System.Collections.Generic.IEnumerable<TItem>
The values.
Type Parameters
- TItem
- The type of the item.
Return Value
Type:
UpdateDefinition<TDocument>A pull operator.
See Also