Share via


ODataResourceSerializer.WriteDeltaObjectInline Method

Definition

Writes the given object specified by the parameter graph as a part of an existing OData message using the given deltaWriter and the writeContext.

public virtual void WriteDeltaObjectInline (object graph, Microsoft.OData.Edm.IEdmTypeReference expectedType, Microsoft.OData.ODataWriter writer, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext writeContext);
abstract member WriteDeltaObjectInline : obj * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.OData.ODataWriter * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> unit
override this.WriteDeltaObjectInline : obj * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.OData.ODataWriter * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> unit
Public Overridable Sub WriteDeltaObjectInline (graph As Object, expectedType As IEdmTypeReference, writer As ODataWriter, writeContext As ODataSerializerContext)

Parameters

graph
Object

The object to be written.

expectedType
IEdmTypeReference

The expected EDM type of the object represented by graph.

writer
ODataWriter

The ODataDeltaWriter to be used for writing.

Applies to