Udostępnij za pośrednictwem


PatchOperation.Increment Method

Definition

Overloads

Increment(String, Double)

Create PatchOperation to Increment a value.

Increment(String, Int64)

Create PatchOperation to Increment a value.

Increment(String, Double)

Source:
PatchOperation.cs

Create PatchOperation to Increment a value.

public static Microsoft.Azure.Cosmos.PatchOperation Increment (string path, double value);
static member Increment : string * double -> Microsoft.Azure.Cosmos.PatchOperation
Public Shared Function Increment (path As String, value As Double) As PatchOperation

Parameters

path
String

Target location reference.

value
Double

The value to be Incremented by at the specified path.

Returns

PatchOperation instance for specified input.

Applies to

Increment(String, Int64)

Source:
PatchOperation.cs

Create PatchOperation to Increment a value.

public static Microsoft.Azure.Cosmos.PatchOperation Increment (string path, long value);
static member Increment : string * int64 -> Microsoft.Azure.Cosmos.PatchOperation
Public Shared Function Increment (path As String, value As Long) As PatchOperation

Parameters

path
String

Target location reference.

value
Int64

The value to be Incremented by at the specified path.

Returns

PatchOperation instance for specified input.

Applies to