ODataResourceSetDeserializer.ReadResourceSet 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 resourceSet
under the given readContext
.
public virtual System.Collections.IEnumerable ReadResourceSet (Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceSetWrapper resourceSet, Microsoft.OData.Edm.IEdmStructuredTypeReference elementType, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member ReadResourceSet : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceSetWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> System.Collections.IEnumerable
override this.ReadResourceSet : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceSetWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> System.Collections.IEnumerable
Public Iterator Overridable Function ReadResourceSet (resourceSet As ODataResourceSetWrapper, elementType As IEdmStructuredTypeReference, readContext As ODataDeserializerContext) As IEnumerable
Parameters
- resourceSet
- ODataResourceSetWrapper
The resource set to deserialize.
- elementType
- IEdmStructuredTypeReference
The element type of the resource set being read.
- readContext
- ODataDeserializerContext
The deserializer context.
Returns
The deserialized resource set object.