Share via


ODataDeserializer.Read Method (ODataMessageReader, Type, ODataDeserializerContext)

 

Reads an IODataRequestMessage using messageReader.

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

Syntax

public virtual object Read(
    ODataMessageReader messageReader,
    Type type,
    ODataDeserializerContext readContext
)
public:
virtual Object^ Read(
    ODataMessageReader^ messageReader,
    Type^ type,
    ODataDeserializerContext^ readContext
)
abstract Read : 
        messageReader:ODataMessageReader *
        type:Type *
        readContext:ODataDeserializerContext -> Object
override Read : 
        messageReader:ODataMessageReader *
        type:Type *
        readContext:ODataDeserializerContext -> Object
Public Overridable Function Read (
    messageReader As ODataMessageReader,
    type As Type,
    readContext As ODataDeserializerContext
) As Object

Parameters

  • type
    Type: System.Type

    The type of the object to read into.

Return Value

Type: System.Object

The deserialized object.

See Also

ODataDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace

Return to top