Share via


ODataMetadataSerializer Class

Definition

Represents an ODataSerializer for serializing $metadata.

public class ODataMetadataSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer
type ODataMetadataSerializer = class
    inherit ODataSerializer
Public Class ODataMetadataSerializer
Inherits ODataSerializer
Inheritance
ODataMetadataSerializer

Constructors

ODataMetadataSerializer()

Initializes a new instance of ODataMetadataSerializer.

Properties

ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.

(Inherited from ODataSerializer)

Methods

WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext.

WriteObjectAsync(Object, Type, ODataMessageWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext.

Applies to