Share via


ODataMessageReader.ReadValue(IEdmTypeReference) Method

Definition

Reads a single value as the message body.

public object ReadValue (Microsoft.OData.Edm.IEdmTypeReference expectedTypeReference);
member this.ReadValue : Microsoft.OData.Edm.IEdmTypeReference -> obj
Public Function ReadValue (expectedTypeReference As IEdmTypeReference) As Object

Parameters

expectedTypeReference
IEdmTypeReference

The expected type reference for the value to be read; null if no expected type is available.

Returns

The read value.

Applies to