Click or drag to resize

UpdateDefinitionBuilder<TDocument>.PullAll<TItem> Method (Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)

Creates a pull operator.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public UpdateDefinition<TDocument> PullAll<TItem>(
	Expression<Func<TDocument, IEnumerable<TItem>>> field,
	IEnumerable<TItem> values
)

Parameters

field
Type: System.Linq.Expressions.Expression<Func<TDocument, IEnumerable<TItem>>>
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