ODataEdmTypeDeserializer.ReadInline Method (Object, IEdmTypeReference, ODataDeserializerContext)
Deserializes the item into a new object of type corresponding to edmType.
Namespace: System.Web.OData.Formatter.Deserialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual object ReadInline(
object item,
IEdmTypeReference edmType,
ODataDeserializerContext readContext
)
public:
virtual Object^ ReadInline(
Object^ item,
IEdmTypeReference^ edmType,
ODataDeserializerContext^ readContext
)
abstract ReadInline :
item:Object *
edmType:IEdmTypeReference *
readContext:ODataDeserializerContext -> Object
override ReadInline :
item:Object *
edmType:IEdmTypeReference *
readContext:ODataDeserializerContext -> Object
Public Overridable Function ReadInline (
item As Object,
edmType As IEdmTypeReference,
readContext As ODataDeserializerContext
) As Object
Parameters
item
Type: System.ObjectThe item to deserialize.
edmType
Type: Microsoft.OData.Edm.IEdmTypeReferenceThe EDM type of the object to read into.
readContext
Type: System.Web.OData.Formatter.Deserialization.ODataDeserializerContext
Return Value
Type: System.Object
The deserialized object.
See Also
ODataEdmTypeDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace
Return to top