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
參數
- expectedPropertyTypeReference
型別:Microsoft.Data.Edm.IEdmTypeReference
要讀取之屬性的預期資源類型。
傳回值
型別:Microsoft.Data.OData.ODataProperty
從裝載讀取的屬性。