Language

EdmStructuredValue Class

Definition

Represents an EDM structured value.

public class EdmStructuredValue : Microsoft.OData.Edm.Vocabularies.EdmValue, Microsoft.OData.Edm.Vocabularies.IEdmStructuredValue
type EdmStructuredValue = class
    inherit EdmValue
    interface IEdmStructuredValue
    interface IEdmValue
    interface IEdmElement
Public Class EdmStructuredValue
Inherits EdmValue
Implements IEdmStructuredValue
Inheritance
EdmStructuredValue
Implements

Constructors

Name Description
EdmStructuredValue(IEdmStructuredTypeReference, IEnumerable<IEdmPropertyValue>)

Initializes a new instance of the EdmStructuredValue class.

Properties

Name Description
PropertyValues

Gets the property values of this structured value.

Type

Gets the type of this value.

(Inherited from EdmValue)
ValueKind

Gets the kind of this value.

Methods

Name Description
FindPropertyValue(String)

Retrieves the value corresponding to the given property name. Returns null if no such value exists.

Explicit Interface Implementations

Name Description
IEdmDelayedValue.Value (Inherited from EdmValue)

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