Share via


SerializationTypeNameAnnotation Class

 

Represents an annotation which stores the type name to serialize.

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

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.SerializationTypeNameAnnotation

Syntax

public sealed class SerializationTypeNameAnnotation
public ref class SerializationTypeNameAnnotation sealed 
[<Sealed>]
type SerializationTypeNameAnnotation = class end
Public NotInheritable Class SerializationTypeNameAnnotation

Constructors

Name Description
System_CAPS_pubmethod SerializationTypeNameAnnotation()

Initializes a new instance of the SerializationTypeNameAnnotation class.

Properties

Name Description
System_CAPS_pubproperty TypeName

Gets or sets the type name to serialize, for the annotated item.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This annotation will be recognized on ODataEntry, ODataComplexValue, ODataCollectionValue and ODataPrimitiveValue.

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

Microsoft.OData.Core Namespace

Return to top