PatchOperation.Set<T>(String, T) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET