PatchOperation.Increment Method
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.
Overloads
Increment(String, Double) |
Creates patch details for increment by double operation. |
Increment(String, Int64) |
Creates patch details for increment by long operation. |
Increment(String, Double)
Creates patch details for increment by double operation.
public:
static System::Cloud::DocumentDb::PatchOperation Increment(System::String ^ path, double value);
public static System.Cloud.DocumentDb.PatchOperation Increment(string path, double value);
static member Increment : string * double -> System.Cloud.DocumentDb.PatchOperation
Public Shared Function Increment (path As String, value As Double) As PatchOperation
Parameters
- path
- String
The path to be patched.
- value
- Double
The double value to be incremented by.
Returns
Created patch operation.
Applies to
Increment(String, Int64)
Creates patch details for increment by long operation.
public:
static System::Cloud::DocumentDb::PatchOperation Increment(System::String ^ path, long value);
public static System.Cloud.DocumentDb.PatchOperation Increment(string path, long value);
static member Increment : string * int64 -> System.Cloud.DocumentDb.PatchOperation
Public Shared Function Increment (path As String, value As Long) As PatchOperation
Parameters
- path
- String
The path to be patched.
- value
- Int64
The long value to be incremented by.
Returns
Created patch operation.