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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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