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
- property
Type: Microsoft.Data.Edm.IEdmStructuralProperty
The property to read.
Return Value
Type: System.Threading.Tasks.Task<ODataProperty>
A task representing the asynchronous operation of reading the property.