ODataCollectionDeserializer.ReadCollectionValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.