Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Returns the format used by the message reader for reading the payload.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Shared Function GetReadFormat ( _
messageReader As ODataMessageReader _
) As ODataFormat
'Usage
Dim messageReader As ODataMessageReader
Dim returnValue As ODataFormat
returnValue = ODataUtils.GetReadFormat(messageReader)
public static ODataFormat GetReadFormat(
ODataMessageReader messageReader
)
public:
static ODataFormat^ GetReadFormat(
ODataMessageReader^ messageReader
)
static member GetReadFormat :
messageReader:ODataMessageReader -> ODataFormat
public static function GetReadFormat(
messageReader : ODataMessageReader
) : ODataFormat
Parameters
- messageReader
Type: Microsoft.Data.OData.ODataMessageReader
The ODataMessageReader to get the read format from.
Return Value
Type: Microsoft.Data.OData.ODataFormat
The format used by the messageReader for reading the payload.
Remarks
This method must only be called once reading has started. This means that a read method has been called on the messageReader or that a reader (for entries, feeds, collections, etc.) has been created. If the method is called prior to that it will throw.