ODataPrimitiveValue Class
Represents a primitive property value.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.OData.Core.ODataAnnotatable
Microsoft.OData.Core.ODataValue
Microsoft.OData.Core.ODataPrimitiveValue
Syntax
public sealed class ODataPrimitiveValue : ODataValue
public ref class ODataPrimitiveValue sealed : ODataValue
[<Sealed>]
type ODataPrimitiveValue =
class
inherit ODataValue
end
Public NotInheritable Class ODataPrimitiveValue
Inherits ODataValue
Constructors
Name | Description | |
---|---|---|
ODataPrimitiveValue(Object) | initializes a new instance of the ODataPrimitiveValue class using the specified CLR value. |
Properties
Name | Description | |
---|---|---|
Value | Gets the underlying CLR object wrapped by this ODataPrimitiveValue. |
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.) |
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