UpdateDefinitionBuilder<TDocument>.PopFirst Method (FieldDefinition<TDocument>) |
Creates a pop operator.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public UpdateDefinition<TDocument> PopFirst(
FieldDefinition<TDocument> field
)
Public Function PopFirst (
field As FieldDefinition(Of TDocument)
) As UpdateDefinition(Of TDocument)
member PopFirst :
field : FieldDefinition<'TDocument> -> UpdateDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.Driver.FieldDefinition<TDocument>
The field.
Return Value
Type:
UpdateDefinition<TDocument>A pop operator.
See Also