通过


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

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