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 | |
---|---|---|
SerializationTypeNameAnnotation() | Initializes a new instance of the SerializationTypeNameAnnotation class. |
Properties
Name | Description | |
---|---|---|
TypeName | Gets or sets the type name to serialize, for the annotated item. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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