Dela via


JsonPatchDocument.Copy(String, String) Method

Definition

Copy the value at specified location to the target location. Will result in, for example: { "op": "copy", "from": "/a/b/c", "path": "/a/b/e" }

public:
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument ^ Copy(System::String ^ from, System::String ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Copy (string from, string path);
member this.Copy : string * string -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument
Public Function Copy (from As String, path As String) As JsonPatchDocument

Parameters

from
String

source location

path
String

target location

Returns

The JsonPatchDocument for chaining.

Applies to