Sdílet prostřednictvím


PatchOperationType Enum

Definition

Describes the list of Patch supported operation types.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum PatchOperationType
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type PatchOperationType = 
Public Enum PatchOperationType
Inheritance
PatchOperationType
Attributes
Newtonsoft.Json.JsonConverterAttribute

Fields

Name Value Description
Add 0

Operation to add a value.

Remove 1

Operation to remove a value.

Replace 2

Operation to replace a value.

Set 3

Operation to set a value.

Increment 4

Operation to increment a value.

Move 5

Operation to move a object/value.

Remarks

For more information, see Partial document update in Azure Cosmos DB: Supported operations

Applies to