ODataPrimitiveValue Class

Represents a primitive property value.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.ODataValue
      Microsoft.Data.OData.ODataPrimitiveValue

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class ODataPrimitiveValue _
    Inherits ODataValue
'Usage
Dim instance As ODataPrimitiveValue
public sealed class ODataPrimitiveValue : ODataValue
public ref class ODataPrimitiveValue sealed : public ODataValue
[<SealedAttribute>]
type ODataPrimitiveValue =  
    class 
        inherit ODataValue 
    end
public final class ODataPrimitiveValue extends ODataValue

The ODataPrimitiveValue type exposes the following members.

Constructors

  Name Description
Public method ODataPrimitiveValue Initializes a new instance of the ODataPrimitiveValue class.

Top

Properties

  Name Description
Public property Value Gets the underlying CLR object wrapped by this ODataPrimitiveValue.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Data.OData Namespace