Share via


EdmValue Class

Represents an EDM value.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.Values.EdmValue
    More...

Namespace:  Microsoft.Data.Edm.Library.Values
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public MustInherit Class EdmValue _
    Implements IEdmValue, IEdmElement, IEdmDelayedValue
'Usage
Dim instance As EdmValue
public abstract class EdmValue : IEdmValue, 
    IEdmElement, IEdmDelayedValue
public ref class EdmValue abstract : IEdmValue, 
    IEdmElement, IEdmDelayedValue
[<AbstractClassAttribute>]
type EdmValue =  
    class 
        interface IEdmValue 
        interface IEdmElement 
        interface IEdmDelayedValue 
    end
public abstract class EdmValue implements IEdmValue, IEdmElement, IEdmDelayedValue

The EdmValue type exposes the following members.

Constructors

  Name Description
Protected method EdmValue Initializes a new instance of the EdmValue class.

Top

Properties

  Name Description
Public property Type Gets the type of this value.
Public property ValueKind Gets the kind of this value.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Errors Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. (Defined by ValidationExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method IsSerializedAsElement Gets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method SetIsSerializedAsElement Sets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IEdmDelayedValue.Value Gets the value of the specified 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.Edm.Library.Values Namespace

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.Values.EdmValue
    Microsoft.Data.Edm.Library.Values.EdmBinaryConstant
    Microsoft.Data.Edm.Library.Values.EdmBooleanConstant
    Microsoft.Data.Edm.Library.Values.EdmCollectionValue
    Microsoft.Data.Edm.Library.Values.EdmDateTimeConstant
    Microsoft.Data.Edm.Library.Values.EdmDateTimeOffsetConstant
    Microsoft.Data.Edm.Library.Values.EdmDecimalConstant
    Microsoft.Data.Edm.Library.Values.EdmEnumValue
    Microsoft.Data.Edm.Library.Values.EdmFloatingConstant
    Microsoft.Data.Edm.Library.Values.EdmGuidConstant
    Microsoft.Data.Edm.Library.Values.EdmIntegerConstant
    Microsoft.Data.Edm.Library.Values.EdmNullExpression
    Microsoft.Data.Edm.Library.Values.EdmStringConstant
    Microsoft.Data.Edm.Library.Values.EdmStructuredValue
    Microsoft.Data.Edm.Library.Values.EdmTimeConstant