ODataEnumDeserializer.Read Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads an IODataRequestMessage using messageReader.
public override object Read (Microsoft.OData.ODataMessageReader messageReader, Type type, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
override this.Read : Microsoft.OData.ODataMessageReader * Type * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
Public Overrides Function Read (messageReader As ODataMessageReader, type As Type, readContext As ODataDeserializerContext) As Object
Parameters
- messageReader
- ODataMessageReader
The messageReader to use.
- type
- Type
The type of the object to read into.
- readContext
- ODataDeserializerContext
The read context.
Returns
The deserialized object.