Share via


ODataMetadataSerializer Class

Represents an ODataSerializer for serializing metadata.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Formatter.Serialization.ODataSerializer
    System.Web.Http.OData.Formatter.Serialization.ODataMetadataSerializer

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

Syntax

'Declaration
Public Class ODataMetadataSerializer _
    Inherits ODataSerializer
'Usage
Dim instance As ODataMetadataSerializer
public class ODataMetadataSerializer : ODataSerializer
public ref class ODataMetadataSerializer : public ODataSerializer
type ODataMetadataSerializer =  
    class 
        inherit ODataSerializer 
    end
public class ODataMetadataSerializer extends ODataSerializer

The ODataMetadataSerializer type exposes the following members.

Constructors

  Name Description
Public method ODataMetadataSerializer Initializes a new instance of the ODataMetadataSerializer class.

Top

Properties

  Name Description
Public property ODataPayloadKind Gets the ODataPayloadKind that this serializer generates. (Inherited from ODataSerializer.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method WriteObject Writes all the object data for the ODataMetadataSerializer. (Overrides ODataSerializer.WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext).)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

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