Click or drag to resize

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
)

Parameters

field
Type: MongoDB.Driver.FieldDefinition<TDocument>
The field.

Return Value

Type: UpdateDefinition<TDocument>
A pop operator.
See Also