Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.