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
參數
- expectedTypeReference
型別:Microsoft.Data.Edm.IEdmTypeReference
要讀取之值的預期資源類型,如果沒有適用的預期類型則為 null。
傳回值
型別:System.Object
讀取的值。