EdmLabeledExpressionReferenceExpression Class

Definition

Represents an EDM labeled expression reference expression.

public class EdmLabeledExpressionReferenceExpression : Microsoft.OData.Edm.EdmElement, Microsoft.OData.Edm.Vocabularies.IEdmLabeledExpressionReferenceExpression
type EdmLabeledExpressionReferenceExpression = class
    inherit EdmElement
    interface IEdmLabeledExpressionReferenceExpression
    interface IEdmExpression
    interface IEdmElement
Public Class EdmLabeledExpressionReferenceExpression
Inherits EdmElement
Implements IEdmLabeledExpressionReferenceExpression
Inheritance
EdmLabeledExpressionReferenceExpression
Implements

Constructors

EdmLabeledExpressionReferenceExpression()

Initializes a new instance of EdmLabeledExpressionReferenceExpression class with non-initialized ReferencedLabeledExpression property.

EdmLabeledExpressionReferenceExpression(IEdmLabeledExpression)

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

Properties

ExpressionKind

Gets the kind of this expression.

ReferencedLabeledExpression

Gets or sets the referenced labeled element. The referenced labeled element can be initialized only once either using the EdmLabeledExpressionReferenceExpression(IEdmLabeledExpression) constructor or by assigning value directly to this property.

Extension Methods

Location(IEdmElement)

Gets the location of this element.

TryCast(IEdmExpression, IEdmTypeReference, IEdmType, Boolean, IEnumerable<EdmError>)

Determines if the type of an expression is compatible with the provided type

TryCast(IEdmExpression, IEdmTypeReference, IEnumerable<EdmError>)

Determines if the type of an expression is compatible with the provided type

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.

Applies to