ODataEntityReferenceLinksSerializer.WriteObject Method
Writes all the object data for the ODataEntityReferenceLinksSerializer.
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overrides Sub WriteObject ( _
graph As Object, _
type As Type, _
messageWriter As ODataMessageWriter, _
writeContext As ODataSerializerContext _
)
'Usage
Dim instance As ODataEntityReferenceLinksSerializer
Dim graph As Object
Dim type As Type
Dim messageWriter As ODataMessageWriter
Dim writeContext As ODataSerializerContext
instance.WriteObject(graph, type, messageWriter, _
writeContext)
public override void WriteObject(
Object graph,
Type type,
ODataMessageWriter messageWriter,
ODataSerializerContext writeContext
)
public:
virtual void WriteObject(
Object^ graph,
Type^ type,
ODataMessageWriter^ messageWriter,
ODataSerializerContext^ writeContext
) override
abstract WriteObject :
graph:Object *
type:Type *
messageWriter:ODataMessageWriter *
writeContext:ODataSerializerContext -> unit
override WriteObject :
graph:Object *
type:Type *
messageWriter:ODataMessageWriter *
writeContext:ODataSerializerContext -> unit
public override function WriteObject(
graph : Object,
type : Type,
messageWriter : ODataMessageWriter,
writeContext : ODataSerializerContext
)
Parameters
- graph
Type: System.Object
The graph.
- type
Type: System.Type
The type of the object.
- messageWriter
Type: ODataMessageWriter
The message writer.
- writeContext
Type: System.Web.Http.OData.Formatter.Serialization.ODataSerializerContext
The write context.