UpdateDefinitionBuilder<TDocument>.Push<TItem> Method (FieldDefinition<TDocument>, TItem) |
Creates a push operator.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntaxpublic UpdateDefinition<TDocument> Push<TItem>(
FieldDefinition<TDocument> field,
TItem value
)
Public Function Push(Of TItem) (
field As FieldDefinition(Of TDocument),
value As TItem
) As UpdateDefinition(Of TDocument)
member Push :
field : FieldDefinition<'TDocument> *
value : 'TItem -> UpdateDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.Driver.FieldDefinition<TDocument>
The field. - value
- Type: TItem
The value.
Type Parameters
- TItem
- The type of the item.
Return Value
Type:
UpdateDefinition<TDocument>A push operator.
See Also