通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PatchOperation.Increment Method

Definition

Overloads

Name Description
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