ODataFeedDeserializer.ReadFeed Method (ODataFeedWithEntries, IEdmEntityTypeReference, ODataDeserializerContext)
Deserializes the given feed under the given readContext.
Namespace: System.Web.OData.Formatter.Deserialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual IEnumerable ReadFeed(
ODataFeedWithEntries feed,
IEdmEntityTypeReference elementType,
ODataDeserializerContext readContext
)
public:
virtual IEnumerable^ ReadFeed(
ODataFeedWithEntries^ feed,
IEdmEntityTypeReference^ elementType,
ODataDeserializerContext^ readContext
)
abstract ReadFeed :
feed:ODataFeedWithEntries *
elementType:IEdmEntityTypeReference *
readContext:ODataDeserializerContext -> IEnumerable
override ReadFeed :
feed:ODataFeedWithEntries *
elementType:IEdmEntityTypeReference *
readContext:ODataDeserializerContext -> IEnumerable
Public Overridable Function ReadFeed (
feed As ODataFeedWithEntries,
elementType As IEdmEntityTypeReference,
readContext As ODataDeserializerContext
) As IEnumerable
Parameters
feed
Type: System.Web.OData.Formatter.Deserialization.ODataFeedWithEntriesThe feed to deserialize.
readContext
Type: System.Web.OData.Formatter.Deserialization.ODataDeserializerContextThe deserializer context.
elementType
Type: Microsoft.OData.Edm.IEdmEntityTypeReferenceThe element type of the feed being read.
Return Value
Type: System.Collections.IEnumerable
The deserialized feed object.
See Also
ODataFeedDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace
Return to top