Share via


SerializationTypeNameAnnotation Class

Annotation which stores the type name to serialize.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.SerializationTypeNameAnnotation

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class SerializationTypeNameAnnotation
'Usage
Dim instance As SerializationTypeNameAnnotation
public sealed class SerializationTypeNameAnnotation
public ref class SerializationTypeNameAnnotation sealed
[<SealedAttribute>]
type SerializationTypeNameAnnotation =  class end
public final class SerializationTypeNameAnnotation

The SerializationTypeNameAnnotation type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property TypeName Gets or sets the type name to serialize, for the annotated item.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This annotation will be recognized on ODataEntry, ODataComplexValue, and ODataMultiValue.

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

Microsoft.Data.OData Namespace