Share via


EdmPropertyValue Class

Definition

Represents a value of an EDM property.

public class EdmPropertyValue : Microsoft.OData.Edm.Vocabularies.IEdmPropertyValue
type EdmPropertyValue = class
    interface IEdmPropertyValue
    interface IEdmDelayedValue
Public Class EdmPropertyValue
Implements IEdmPropertyValue
Inheritance
EdmPropertyValue
Implements

Constructors

EdmPropertyValue(String, IEdmValue)

Initializes a new instance of the EdmPropertyValue class. This constructor will not allow changing Value property after the EdmPropertyValue instance has been constructed.

EdmPropertyValue(String)

Initializes a new instance of the EdmPropertyValue class with non-initialized Value property. This constructor allows setting Value property once after EdmPropertyValue has been constructed.

Properties

Name

Gets the name of the property for which this provides a value.

Value

Gets or sets the value of the property. The value can be initialized only once either using the EdmPropertyValue(String, IEdmValue) constructor or by assigning value directly to this property.

Applies to