Share via


EdmLabeledExpressionReferenceExpression Class

Represents an EDM labeled expression reference expression.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.Expressions.EdmLabeledExpressionReferenceExpression

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

Syntax

'Declaration
Public Class EdmLabeledExpressionReferenceExpression _
    Inherits EdmElement _
    Implements IEdmLabeledExpressionReferenceExpression, IEdmExpression, IEdmElement
'Usage
Dim instance As EdmLabeledExpressionReferenceExpression
public class EdmLabeledExpressionReferenceExpression : EdmElement, 
    IEdmLabeledExpressionReferenceExpression, IEdmExpression, IEdmElement
public ref class EdmLabeledExpressionReferenceExpression : public EdmElement, 
    IEdmLabeledExpressionReferenceExpression, IEdmExpression, IEdmElement
type EdmLabeledExpressionReferenceExpression =  
    class 
        inherit EdmElement 
        interface IEdmLabeledExpressionReferenceExpression 
        interface IEdmExpression 
        interface IEdmElement 
    end
public class EdmLabeledExpressionReferenceExpression extends EdmElement implements IEdmLabeledExpressionReferenceExpression, IEdmExpression, IEdmElement

The EdmLabeledExpressionReferenceExpression type exposes the following members.

Constructors

  Name Description
Public method EdmLabeledExpressionReferenceExpression() Initializes a new instance of the EdmLabeledExpressionReferenceExpression class.
Public method 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.

Top

Properties

  Name Description
Public property ExpressionKind Gets the kind of this expression.
Public property ReferencedLabeledExpression Gets or sets the referenced labeled element. The referenced labeled element can be initialized only once either using the <see cref="M:Microsoft.Data.Edm.Library.Expressions.EdmLabeledExpressionReferenceExpression.#ctor(Microsoft.Data.Edm.Expressions.IEdmLabeledExpression)" /> constructor or by assigning value directly to this property.

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 Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method TryAssertType(IEdmTypeReference, IEnumerable<EdmError>%) Overloaded. Determines if the type of an expression is compatible with the provided type. (Defined by ExpressionTypeChecker.)
Public Extension Method TryAssertType(IEdmTypeReference, IEdmType, Boolean, IEnumerable<EdmError>%) Overloaded. Determines if the type of an expression is compatible with the provided type (Defined by ExpressionTypeChecker.)

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.Expressions Namespace