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
messageReader
Type: Microsoft.OData.Core.ODataMessageReaderThe messageReader to use.
type
Type: System.TypeThe type of the object to read into.
readContext
Type: System.Web.OData.Formatter.Deserialization.ODataDeserializerContextThe read context.
Return Value
Type: System.Object
The deserialized object.
See Also
ODataDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace
Return to top