Share via


ODataMessageReader.ReadProperty Method (IEdmStructuralProperty)

Reads an ODataProperty as message payload.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function ReadProperty ( _
    property As IEdmStructuralProperty _
) As ODataProperty
'Usage
Dim instance As ODataMessageReader 
Dim property As IEdmStructuralProperty 
Dim returnValue As ODataProperty 

returnValue = instance.ReadProperty(property)
public ODataProperty ReadProperty(
    IEdmStructuralProperty property
)
public:
ODataProperty^ ReadProperty(
    IEdmStructuralProperty^ property
)
member ReadProperty : 
        property:IEdmStructuralProperty -> ODataProperty
public function ReadProperty(
    property : IEdmStructuralProperty
) : ODataProperty

Parameters

Return Value

Type: Microsoft.Data.OData.ODataProperty
The property read from the payload.

See Also

Reference

ODataMessageReader Class

ReadProperty Overload

Microsoft.Data.OData Namespace