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
- property
Type: Microsoft.Data.Edm.IEdmStructuralProperty
The property to read.
Return Value
Type: Microsoft.Data.OData.ODataProperty
The property read from the payload.