Removes the first occurrence of a value from the array.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax public virtual bool Remove(
BsonValue value
)
Public Overridable Function Remove (
value As BsonValue
) As Boolean
abstract Remove :
value : BsonValue -> bool
override Remove :
value : BsonValue -> bool
Parameters
- value
- Type: MongoDB.BsonBsonValue
The value to remove.
Return Value
Type:
BooleanTrue if the value was removed.
Implements
ICollectionTRemove(T)See Also