Partager via


ODataResourceDeserializer.ReadResource Méthode

Définition

Désérialise le donné resourceWrapper sous le donné readContext.

public virtual object ReadResource (Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceWrapper resourceWrapper, Microsoft.OData.Edm.IEdmStructuredTypeReference structuredType, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member ReadResource : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
override this.ReadResource : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
Public Overridable Function ReadResource (resourceWrapper As ODataResourceWrapper, structuredType As IEdmStructuredTypeReference, readContext As ODataDeserializerContext) As Object

Paramètres

resourceWrapper
ODataResourceWrapper

Ressource OData à désérialiser.

structuredType
IEdmStructuredTypeReference

Type de la ressource à désérialiser.

readContext
ODataDeserializerContext

Contexte du désérialiseur.

Retours

Ressource désérialisée.

S’applique à