PatchOperation Class
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.
Details of Patch operation that is to be applied to the referred Cosmos item.
public abstract class PatchOperation
type PatchOperation = class
Public MustInherit Class PatchOperation
- Inheritance
-
PatchOperation
- Derived
Constructors
PatchOperation() |
Properties
From |
Source location reference (used in case of move) |
OperationType |
Patch operation type. |
Path |
Target location reference. |
Methods
Add<T>(String, T) |
Create PatchOperation<T> to add a value. |
Increment(String, Double) |
Create PatchOperation to Increment a value. |
Increment(String, Int64) |
Create PatchOperation to Increment a value. |
Move(String, String) |
Create PatchOperation to move an object/value. |
Remove(String) |
Create PatchOperation to remove a value. |
Replace<T>(String, T) |
Create PatchOperation<T> to replace a value. |
Set<T>(String, T) |
Create PatchOperation<T> to set a value. |
TrySerializeValueParameter(CosmosSerializer, Stream) |
Serializes the value parameter, if specified for the PatchOperation. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應