Removes the first occurrence of a value from the array.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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