ODataTypeAnnotation.TypeName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type name to serialize, for the annotated item.
public string TypeName { get; }
member this.TypeName : string
Public ReadOnly Property TypeName As String
Property Value
The type name to serialize, for the annotated item.
Remarks
If this property is null, no type name will be written. If this property is non-null, the property value will be used as the type name written to the payload. If ODataTypeAnnotation is present, it always overrides the type name specified on the annotated item. If ODataTypeAnnotation is not present, the value of the TypeName property on the ODataResource, ODataCollectionValue is used as the type name in the payload.