共用方式為


JsonPatchDocument Constructors

Definition

Overloads

JsonPatchDocument()

Initializes a new instance of JsonPatchDocument that uses JsonObjectSerializer as the default serializer.

JsonPatchDocument(ObjectSerializer)

Initializes a new instance of JsonPatchDocument

JsonPatchDocument(ReadOnlyMemory<Byte>)

Initializes a new instance of JsonPatchDocument

JsonPatchDocument(ReadOnlyMemory<Byte>, ObjectSerializer)

Initializes a new instance of JsonPatchDocument using an existing UTF8-encoded JSON Patch document.

JsonPatchDocument()

Source:
JsonPatchDocument.cs

Initializes a new instance of JsonPatchDocument that uses JsonObjectSerializer as the default serializer.

public JsonPatchDocument ();
Public Sub New ()

Applies to

JsonPatchDocument(ObjectSerializer)

Source:
JsonPatchDocument.cs

Initializes a new instance of JsonPatchDocument

public JsonPatchDocument (Azure.Core.Serialization.ObjectSerializer serializer);
new Azure.JsonPatchDocument : Azure.Core.Serialization.ObjectSerializer -> Azure.JsonPatchDocument
Public Sub New (serializer As ObjectSerializer)

Parameters

serializer
ObjectSerializer

The ObjectSerializer instance to use for value serialization.

Applies to

JsonPatchDocument(ReadOnlyMemory<Byte>)

Source:
JsonPatchDocument.cs

Initializes a new instance of JsonPatchDocument

public JsonPatchDocument (ReadOnlyMemory<byte> rawDocument);
new Azure.JsonPatchDocument : ReadOnlyMemory<byte> -> Azure.JsonPatchDocument
Public Sub New (rawDocument As ReadOnlyMemory(Of Byte))

Parameters

rawDocument
ReadOnlyMemory<Byte>

The binary representation of JSON Patch document.

Applies to

JsonPatchDocument(ReadOnlyMemory<Byte>, ObjectSerializer)

Source:
JsonPatchDocument.cs

Initializes a new instance of JsonPatchDocument using an existing UTF8-encoded JSON Patch document.

public JsonPatchDocument (ReadOnlyMemory<byte> rawDocument, Azure.Core.Serialization.ObjectSerializer serializer);
new Azure.JsonPatchDocument : ReadOnlyMemory<byte> * Azure.Core.Serialization.ObjectSerializer -> Azure.JsonPatchDocument
Public Sub New (rawDocument As ReadOnlyMemory(Of Byte), serializer As ObjectSerializer)

Parameters

rawDocument
ReadOnlyMemory<Byte>

The binary representation of JSON Patch document.

serializer
ObjectSerializer

The ObjectSerializer instance to use for value serialization.

Applies to