ODataProperty Class
Represents a single property of an entry.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.OData.Core.ODataAnnotatable
Microsoft.OData.Core.ODataProperty
Syntax
public sealed class ODataProperty : ODataAnnotatable
public ref class ODataProperty sealed : ODataAnnotatable
[<Sealed>]
type ODataProperty =
class
inherit ODataAnnotatable
end
Public NotInheritable Class ODataProperty
Inherits ODataAnnotatable
Constructors
Name | Description | |
---|---|---|
ODataProperty() | Initializes a new instance of the ODataProperty class. |
Properties
Name | Description | |
---|---|---|
InstanceAnnotations | ||
Name | Gets or sets the property name. |
|
Value | Gets or sets the property value. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetAnnotation<T>() | Gets or sets the annotation by type.(Inherited from ODataAnnotatable.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
SetAnnotation<T>(T) | Sets an annotation of type T.(Inherited from ODataAnnotatable.) |
|
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
SetSerializationInfo(ODataPropertySerializationInfo) | Overloaded. Provides additional serialization information to the ODataWriter for property.(Defined by ODataObjectModelExtensions.) |
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