Share via


IEdmAssertTypeExpression Interface

Represents an EDM type assertion expression.

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

Syntax

'Declaration
Public Interface IEdmAssertTypeExpression _
    Inherits IEdmExpression, IEdmElement
'Usage
Dim instance As IEdmAssertTypeExpression
public interface IEdmAssertTypeExpression : IEdmExpression, 
    IEdmElement
public interface class IEdmAssertTypeExpression : IEdmExpression, 
    IEdmElement
type IEdmAssertTypeExpression =  
    interface 
        interface IEdmExpression 
        interface IEdmElement 
    end
public interface IEdmAssertTypeExpression extends IEdmExpression, IEdmElement

The IEdmAssertTypeExpression type exposes the following members.

Properties

  Name Description
Public property ExpressionKind Gets the kind of this expression. (Inherited from IEdmExpression.)
Public property Operand Gets the expression for which the type is asserted.
Public property Type Gets the asserted type.

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 Determines if the type of an expression is compatible with the provided type. (Defined by ExpressionTypeChecker.)

Top

See Also

Reference

Microsoft.Data.Edm.Expressions Namespace