Bagikan melalui


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

Definition

Create PatchOperation<T> to set a value.

public static Microsoft.Azure.Cosmos.PatchOperation Set<T> (string path, T value);
static member Set : string * 'T -> Microsoft.Azure.Cosmos.PatchOperation
Public Shared Function Set(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 set at the specified path.

Returns

PatchOperation instance for specified input.

Applies to