UpdateDefinitionBuilder<TDocument>.PopFirst Method (Expression<Func<TDocument, Object>>) |
Creates a pop first operator.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntaxpublic UpdateDefinition<TDocument> PopFirst(
Expression<Func<TDocument, Object>> field
)
Public Function PopFirst (
field As Expression(Of Func(Of TDocument, Object))
) As UpdateDefinition(Of TDocument)
member PopFirst :
field : Expression<Func<'TDocument, Object>> -> UpdateDefinition<'TDocument>
Parameters
- field
- Type: System.Linq.Expressions.Expression<Func<TDocument, Object>>
The field.
Return Value
Type:
UpdateDefinition<TDocument>A pop first operator.
See Also