Share via


ODataProperty Class

Definition

Represents a single property of a resource with a value.

public sealed class ODataProperty : Microsoft.OData.ODataPropertyInfo
type ODataProperty = class
    inherit ODataPropertyInfo
Public NotInheritable Class ODataProperty
Inherits ODataPropertyInfo
Inheritance

Constructors

ODataProperty()

Properties

InstanceAnnotations

Collection of custom instance annotations.

(Inherited from ODataPropertyInfo)
Name

Gets or sets the property name.

(Inherited from ODataPropertyInfo)
PrimitiveTypeKind

Gets or sets the kind of primitive type of the property.

(Inherited from ODataPropertyInfo)
TypeAnnotation

The annotation for storing @odata.type.

(Inherited from ODataAnnotatable)
Value

Gets or sets the property value.

Extension Methods

SetSerializationInfo(ODataProperty, ODataPropertySerializationInfo)

Provide additional serialization information to the ODataWriter for property.

Applies to