Partager via


ODataResourceDeserializer.ApplyStructuralProperties Méthode

Définition

Désérialise les propriétés structurelles de resourceWrapper dans resource.

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

Paramètres

resource
Object

Objet dans lequel les propriétés structurelles doivent être lues.

resourceWrapper
ODataResourceWrapper

Objet de ressource contenant les propriétés structurelles.

structuredType
IEdmStructuredTypeReference

Type de la ressource.

readContext
ODataDeserializerContext

Contexte du désérialiseur.

S’applique à