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
collectionValue
Type: Microsoft.OData.Core.ODataCollectionValueThe ODataCollectionValue to deserialize.
elementType
Type: Microsoft.OData.Edm.IEdmTypeReferenceThe element type of the collection to read.
readContext
Type: System.Web.OData.Formatter.Deserialization.ODataDeserializerContextThe deserializer context.
Return Value
Type: System.Collections.IEnumerable
The deserialized collection.
See Also
ODataCollectionDeserializer Class
System.Web.OData.Formatter.Deserialization Namespace
Return to top