Share via


ODataEdmTypeSerializer.WriteObjectInline Method (Object, IEdmTypeReference, ODataWriter, ODataSerializerContext)

 

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

Namespace:   System.Web.Http.OData.Formatter.Serialization
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public virtual void WriteObjectInline(
    object graph,
    IEdmTypeReference expectedType,
    ODataWriter writer,
    ODataSerializerContext writeContext
)
public:
virtual void WriteObjectInline(
    Object^ graph,
    IEdmTypeReference^ expectedType,
    ODataWriter^ writer,
    ODataSerializerContext^ writeContext
)
abstract WriteObjectInline : 
        graph:Object *
        expectedType:IEdmTypeReference *
        writer:ODataWriter *
        writeContext:ODataSerializerContext -> unit
override WriteObjectInline : 
        graph:Object *
        expectedType:IEdmTypeReference *
        writer:ODataWriter *
        writeContext:ODataSerializerContext -> unit
Public Overridable Sub WriteObjectInline (
    graph As Object,
    expectedType As IEdmTypeReference,
    writer As ODataWriter,
    writeContext As ODataSerializerContext
)

Parameters

See Also

ODataEdmTypeSerializer Class
System.Web.Http.OData.Formatter.Serialization Namespace

Return to top