JsonPatchDocument.Test(String, Object) 方法

定义

测试值。 将生成 ,例如 { “op”: “test”, “path”: “/a/b/c”, “value”: 42 }

public:
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument ^ Test(System::String ^ path, System::Object ^ value);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument Test (string path, object value);
member this.Test : string * obj -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument
Public Function Test (path As String, value As Object) As JsonPatchDocument

参数

path
String

目标位置

value
Object

value

返回

用于链接的 JsonPatchDocument

适用于