Jaa


ODataInputContext.ReadProperty Method

Definition

Read the EDM structural property from the input and return an ODataProperty representing the read property.

public virtual Microsoft.OData.ODataProperty ReadProperty (Microsoft.OData.Edm.IEdmStructuralProperty edmStructuralProperty, Microsoft.OData.Edm.IEdmTypeReference expectedPropertyTypeReference);
abstract member ReadProperty : Microsoft.OData.Edm.IEdmStructuralProperty * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.ODataProperty
override this.ReadProperty : Microsoft.OData.Edm.IEdmStructuralProperty * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.ODataProperty
Public Overridable Function ReadProperty (edmStructuralProperty As IEdmStructuralProperty, expectedPropertyTypeReference As IEdmTypeReference) As ODataProperty

Parameters

edmStructuralProperty
IEdmStructuralProperty

The IEdmProperty producing the property to be read.

expectedPropertyTypeReference
IEdmTypeReference

The expected type reference of the property to read.

Returns

An ODataProperty representing the read property.

Applies to