ODataMessageReader.ReadValue Method
Reads a single value as the message body.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Function ReadValue ( _
expectedTypeReference As IEdmTypeReference _
) As Object
'Usage
Dim instance As ODataMessageReader
Dim expectedTypeReference As IEdmTypeReference
Dim returnValue As Object
returnValue = instance.ReadValue(expectedTypeReference)
public Object ReadValue(
IEdmTypeReference expectedTypeReference
)
public:
Object^ ReadValue(
IEdmTypeReference^ expectedTypeReference
)
member ReadValue :
expectedTypeReference:IEdmTypeReference -> Object
public function ReadValue(
expectedTypeReference : IEdmTypeReference
) : Object
Parameters
- expectedTypeReference
Type: Microsoft.Data.Edm.IEdmTypeReference
The expected resource type for the value to be read; null if no expected type is available.
Return Value
Type: System.Object
The read value.