ODataResourceDeserializer.ApplyStructuralProperty Method

Definition

Deserializes the given structuralProperty into resource.

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

Parameters

resource
Object

The object into which the structural property should be read.

structuralProperty
ODataProperty

The structural property.

structuredType
IEdmStructuredTypeReference

The type of the resource.

readContext
ODataDeserializerContext

The deserializer context.

Applies to