Share via


ODataMessageReader.ReadPropertyAsync Method (IEdmStructuralProperty)

Asynchronously reads an ODataProperty as message payload.

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

Syntax

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

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

Parameters

Return Value

Type: System.Threading.Tasks.Task<ODataProperty>
A task representing the asynchronous operation of reading the property.

See Also

Reference

ODataMessageReader Class

ReadPropertyAsync Overload

Microsoft.Data.OData Namespace