Share via


ODataCollectionDeserializer.ReadCollectionValue Method (ODataCollectionValue, IEdmTypeReference, ODataDeserializerContext)

 

Deserializes the given collectionValue under the given readContext.

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

Syntax

public virtual IEnumerable ReadCollectionValue(
    ODataCollectionValue collectionValue,
    IEdmTypeReference elementType,
    ODataDeserializerContext readContext
)
public:
virtual IEnumerable^ ReadCollectionValue(
    ODataCollectionValue^ collectionValue,
    IEdmTypeReference^ elementType,
    ODataDeserializerContext^ readContext
)
abstract ReadCollectionValue : 
        collectionValue:ODataCollectionValue *
        elementType:IEdmTypeReference *
        readContext:ODataDeserializerContext -> IEnumerable
override ReadCollectionValue : 
        collectionValue:ODataCollectionValue *
        elementType:IEdmTypeReference *
        readContext:ODataDeserializerContext -> IEnumerable
Public Overridable Function ReadCollectionValue (
    collectionValue As ODataCollectionValue,
    elementType As IEdmTypeReference,
    readContext As ODataDeserializerContext
) As IEnumerable

Parameters

Return Value

Type: System.Collections.IEnumerable

The deserialized collection.

See Also

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

Return to top