ODataPrimitiveSerializer.CreateODataValue Method (Object, IEdmTypeReference, ODataSerializerContext)
Namespace: System.Web.OData.Formatter.Serialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public override sealed ODataValue CreateODataValue(
object graph,
IEdmTypeReference expectedType,
ODataSerializerContext writeContext
)
public:
virtual ODataValue^ CreateODataValue(
Object^ graph,
IEdmTypeReference^ expectedType,
ODataSerializerContext^ writeContext
) override sealed
override CreateODataValue :
graph:Object *
expectedType:IEdmTypeReference *
writeContext:ODataSerializerContext -> ODataValue
Public Overrides NotOverridable Function CreateODataValue (
graph As Object,
expectedType As IEdmTypeReference,
writeContext As ODataSerializerContext
) As ODataValue
Parameters
- graph
Type: System.Object
- expectedType
Type: Microsoft.OData.Edm.IEdmTypeReference
- writeContext
Type: System.Web.OData.Formatter.Serialization.ODataSerializerContext
Return Value
Type: Microsoft.OData.Core.ODataValue
See Also
ODataPrimitiveSerializer Class
System.Web.OData.Formatter.Serialization Namespace
Return to top