ODataInputContext.ReadProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.