Share via


ODataCollectionDeserializer.ReadCollectionValue Method

Definition

Deserializes the given collectionValue under the given readContext.

public virtual System.Collections.IEnumerable ReadCollectionValue (Microsoft.OData.ODataCollectionValue collectionValue, Microsoft.OData.Edm.IEdmTypeReference elementType, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member ReadCollectionValue : Microsoft.OData.ODataCollectionValue * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> System.Collections.IEnumerable
override this.ReadCollectionValue : Microsoft.OData.ODataCollectionValue * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> System.Collections.IEnumerable
Public Iterator Overridable Function ReadCollectionValue (collectionValue As ODataCollectionValue, elementType As IEdmTypeReference, readContext As ODataDeserializerContext) As IEnumerable

Parameters

collectionValue
ODataCollectionValue

The ODataCollectionValue to deserialize.

elementType
IEdmTypeReference

The element type of the collection to read.

readContext
ODataDeserializerContext

The deserializer context.

Returns

The deserialized collection.

Applies to