Share via


ODataPrimitiveSerializer.CreateODataValue Method (Object, IEdmTypeReference, ODataSerializerContext)

 

Namespace:   System.Web.Http.OData.Formatter.Serialization
Assembly:  System.Web.Http.OData (in System.Web.Http.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

Return Value

Type: Microsoft.Data.OData.ODataValue

See Also

ODataPrimitiveSerializer Class
System.Web.Http.OData.Formatter.Serialization Namespace

Return to top