UpdatePullAll Method (String, BsonArray) |
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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public static UpdateBuilder PullAll(
string name,
BsonArray values
)
Public Shared Function PullAll (
name As String,
values As BsonArray
) As UpdateBuilder
static member PullAll :
name : string *
values : BsonArray -> UpdateBuilder
Parameters
- name
- Type: SystemString
The name of the array element. - values
- Type: MongoDB.BsonBsonArray
The values to remove.
Return Value
Type:
UpdateBuilderThe builder (so method calls can be chained).
See Also