Partager via


ODataDeserializer.Read Méthode

Définition

Lit un à l’aide de IODataRequestMessage messageReader.

public virtual object Read (Microsoft.OData.ODataMessageReader messageReader, Type type, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member Read : Microsoft.OData.ODataMessageReader * Type * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
override this.Read : Microsoft.OData.ODataMessageReader * Type * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
Public Overridable Function Read (messageReader As ODataMessageReader, type As Type, readContext As ODataDeserializerContext) As Object

Paramètres

messageReader
ODataMessageReader

messageReader à utiliser.

type
Type

Type de l’objet à lire.

readContext
ODataDeserializerContext

Contexte de lecture.

Retours

L'objet désérialisé.

S’applique à