ODataPrimitiveDeserializer.ReadPrimitive 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.
Deserializes the primitive from the given primitiveProperty
under the given readContext
.
public virtual object ReadPrimitive (Microsoft.OData.ODataProperty primitiveProperty, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member ReadPrimitive : Microsoft.OData.ODataProperty * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
override this.ReadPrimitive : Microsoft.OData.ODataProperty * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
Public Overridable Function ReadPrimitive (primitiveProperty As ODataProperty, readContext As ODataDeserializerContext) As Object
Parameters
- primitiveProperty
- ODataProperty
The primitive property to deserialize.
- readContext
- ODataDeserializerContext
The deserializer context.
Returns
The deserialized OData primitive value.