共用方式為


ODataMessageReader.ReadProperty 方法 (IEdmTypeReference)

讀取 ODataProperty 做為訊息裝載。

命名空間:  Microsoft.Data.OData
組件:  Microsoft.Data.OData (在 Microsoft.Data.OData.dll 中)

語法

'宣告
Public Function ReadProperty ( _
    expectedPropertyTypeReference As IEdmTypeReference _
) As ODataProperty
'用途
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

參數

傳回值

型別:Microsoft.Data.OData.ODataProperty
從裝載讀取的屬性。

請參閱

參考

ODataMessageReader 類別

ReadProperty 多載

Microsoft.Data.OData 命名空間