Share via


PatchOperation.Add<T>(String, T) Method

Definition

Create PatchOperation<T> to add a value.

public static Microsoft.Azure.Cosmos.PatchOperation Add<T> (string path, T value);
static member Add : string * 'T -> Microsoft.Azure.Cosmos.PatchOperation
Public Shared Function Add(Of T) (path As String, value As T) As PatchOperation

Type Parameters

T

Type of value

Parameters

path
String

Target location reference.

value
T

The value to be added.

Returns

PatchOperation instance for specified input.

Applies to