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