JsonPatchDocument.Replace(String, Object) Méthode

Définition

Remplacez la valeur. Entraîne, par exemple, { « op »: « replace », « path »: « /a/b/c », « value »: 42 }

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

Paramètres

path
String

emplacement cible

value
Object

value

Retours

JsonPatchDocument pour le chaînage.

S’applique à