共用方式為


ODataMessageReader.ReadValue 方法

讀取單一值做為訊息主體。

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

語法

'宣告
Public Function ReadValue ( _
    expectedTypeReference As IEdmTypeReference _
) As Object
'用途
Dim instance As ODataMessageReader
Dim expectedTypeReference As IEdmTypeReference
Dim returnValue As Object

returnValue = instance.ReadValue(expectedTypeReference)
public Object ReadValue(
    IEdmTypeReference expectedTypeReference
)
public:
Object^ ReadValue(
    IEdmTypeReference^ expectedTypeReference
)
member ReadValue : 
        expectedTypeReference:IEdmTypeReference -> Object 
public function ReadValue(
    expectedTypeReference : IEdmTypeReference
) : Object

參數

傳回值

型別:System.Object
讀取的值。

請參閱

參考

ODataMessageReader 類別

Microsoft.Data.OData 命名空間