ODataResourceSerializer.WriteObjectInline Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the given object specified by the parameter graph as a part of an existing OData message using the given messageWriter and the writeContext.
public override void WriteObjectInline (object graph, Microsoft.OData.Edm.IEdmTypeReference expectedType, Microsoft.OData.ODataWriter writer, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext writeContext);
override this.WriteObjectInline : obj * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.OData.ODataWriter * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> unit
Public Overrides Sub WriteObjectInline (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 ODataWriter to be used for writing.
- writeContext
- ODataSerializerContext