BatchItem<T>(BatchOperation, T, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the BatchItem<T> struct.
public BatchItem(System.Cloud.DocumentDb.BatchOperation operation, T? item = default, string? id = default, string? itemVersion = default);
new System.Cloud.DocumentDb.BatchItem<'T> : System.Cloud.DocumentDb.BatchOperation * 'T * string * string -> System.Cloud.DocumentDb.BatchItem<'T>
Public Sub New (operation As BatchOperation, Optional item As T = Nothing, Optional id As String = Nothing, Optional itemVersion As String = Nothing)
Parameters
- operation
- BatchOperation
The operation.
- item
- T
The document.
- id
- String
The document id.
- itemVersion
- String
The item version.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.