UpdatePullAll Method (String, IEnumerableBsonValue) |
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
Namespace:
MongoDB.Driver.Builders
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public static UpdateBuilder PullAll(
string name,
IEnumerable<BsonValue> values
)
Public Shared Function PullAll (
name As String,
values As IEnumerable(Of BsonValue)
) As UpdateBuilder
static member PullAll :
name : string *
values : IEnumerable<BsonValue> -> UpdateBuilder
Parameters
- name
- Type: SystemString
The name of the array element. - values
- Type: System.Collections.GenericIEnumerableBsonValue
The values to remove.
Return Value
Type:
UpdateBuilderThe builder (so method calls can be chained).
See Also