Share via


ODataMessageReader.ReadProperty Method

Definition

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.

Applies to