Share via


ODataSerializer Constructor (ODataPayloadKind)

 

Constructs an ODataSerializer that can generate OData payload of the specified kind.

Namespace:   System.Web.Http.OData.Formatter.Serialization
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

protected ODataSerializer(
    ODataPayloadKind payloadKind
)
protected:
ODataSerializer(
    ODataPayloadKind payloadKind
)
new : 
        payloadKind:ODataPayloadKind -> ODataSerializer
Protected Sub New (
    payloadKind As ODataPayloadKind
)

Parameters

See Also

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

Return to top