Language

EdmValue Class

Definition

Represents an EDM value.

public abstract class EdmValue : Microsoft.OData.Edm.Vocabularies.IEdmDelayedValue, Microsoft.OData.Edm.Vocabularies.IEdmValue
type EdmValue = class
    interface IEdmValue
    interface IEdmElement
    interface IEdmDelayedValue
Public MustInherit Class EdmValue
Implements IEdmDelayedValue, IEdmValue
Inheritance
EdmValue
Derived
Implements

Constructors

Name Description
EdmValue(IEdmTypeReference)

Initializes a new instance of the EdmValue class.

Properties

Name Description
Type

Gets the type of this value.

ValueKind

Gets the kind of this value.

Explicit Interface Implementations

Name Description
IEdmDelayedValue.Value

Extension Methods

Name Description
Errors(IEdmElement)

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.

IsBad(IEdmElement)

Returns true if this element contains errors returned by the Errors(IEdmElement) method.

IsSerializedAsElement(IEdmValue, IEdmModel)

Gets an annotation indicating if the value should be serialized as an element.

Location(IEdmElement)

Gets the location of this element.

SetIsSerializedAsElement(IEdmValue, IEdmModel, Boolean)

Sets an annotation indicating if the value should be serialized as an element.

Applies to