JsonPatchDocument.Copy(String, String) 方法

定义

将指定位置的值复制到目标位置。 将产生,例如:{ “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

参数

from
String

源位置

path
String

目标位置

返回

用于链接的 JsonPatchDocument

适用于