ODataMessageReader.ReadProperty Method (IEdmTypeReference)
Reads an ODataProperty as message payload.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Function ReadProperty ( _
expectedPropertyTypeReference As IEdmTypeReference _
) As ODataProperty
'Usage
Dim instance As ODataMessageReader
Dim expectedPropertyTypeReference As IEdmTypeReference
Dim returnValue As ODataProperty
returnValue = instance.ReadProperty(expectedPropertyTypeReference)
public ODataProperty ReadProperty(
IEdmTypeReference expectedPropertyTypeReference
)
public:
ODataProperty^ ReadProperty(
IEdmTypeReference^ expectedPropertyTypeReference
)
member ReadProperty :
expectedPropertyTypeReference:IEdmTypeReference -> ODataProperty
public function ReadProperty(
expectedPropertyTypeReference : IEdmTypeReference
) : ODataProperty
Parameters
- expectedPropertyTypeReference
Type: Microsoft.Data.Edm.IEdmTypeReference
The expected resource type of the property to read.
Return Value
Type: Microsoft.Data.OData.ODataProperty
The property read from the payload.