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.BuildersAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.4.1
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