ODataMessageReader.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.
Overloads
ReadProperty() |
Reads an ODataProperty as message payload. |
ReadProperty(IEdmStructuralProperty) |
Reads an ODataProperty as message payload. |
ReadProperty(IEdmTypeReference) |
Reads an ODataProperty as message payload. |
ReadProperty()
Reads an ODataProperty as message payload.
public Microsoft.OData.ODataProperty ReadProperty ();
member this.ReadProperty : unit -> Microsoft.OData.ODataProperty
Public Function ReadProperty () As ODataProperty
Returns
The property read from the payload.
Applies to
ReadProperty(IEdmStructuralProperty)
Reads an ODataProperty as message payload.
public Microsoft.OData.ODataProperty ReadProperty (Microsoft.OData.Edm.IEdmStructuralProperty property);
member this.ReadProperty : Microsoft.OData.Edm.IEdmStructuralProperty -> Microsoft.OData.ODataProperty
Public Function ReadProperty (property As IEdmStructuralProperty) As ODataProperty
Parameters
- property
- IEdmStructuralProperty
The metadata of the property to read.
Returns
The property read from the payload.
Applies to
ReadProperty(IEdmTypeReference)
Reads an ODataProperty as message payload.
public Microsoft.OData.ODataProperty ReadProperty (Microsoft.OData.Edm.IEdmTypeReference expectedPropertyTypeReference);
member this.ReadProperty : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.ODataProperty
Public Function ReadProperty (expectedPropertyTypeReference As IEdmTypeReference) As ODataProperty
Parameters
- expectedPropertyTypeReference
- IEdmTypeReference
The expected type reference of the property to read.
Returns
The property read from the payload.