Share via


ODataTypeAnnotation.TypeName Property

Definition

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.

Applies to