EdmIfExpression Class
Represents an EDM if expression.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.Expressions.EdmIfExpression
Namespace: Microsoft.Data.Edm.Library.Expressions
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmIfExpression _
Inherits EdmElement _
Implements IEdmIfExpression, IEdmExpression, IEdmElement
'Usage
Dim instance As EdmIfExpression
public class EdmIfExpression : EdmElement,
IEdmIfExpression, IEdmExpression, IEdmElement
public ref class EdmIfExpression : public EdmElement,
IEdmIfExpression, IEdmExpression, IEdmElement
type EdmIfExpression =
class
inherit EdmElement
interface IEdmIfExpression
interface IEdmExpression
interface IEdmElement
end
public class EdmIfExpression extends EdmElement implements IEdmIfExpression, IEdmExpression, IEdmElement
The EdmIfExpression type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmIfExpression | Initializes a new instance of the EdmIfExpression class. |
Top
Properties
Name | Description | |
---|---|---|
ExpressionKind | Gets the kind of this expression. | |
FalseExpression | Gets the expression to evaluate if TestExpression evaluates to false. | |
TestExpression | Gets the test expression. | |
TrueExpression | Gets the expression to evaluate if TestExpression evaluates to true. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
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.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
TryAssertType(IEdmTypeReference, IEnumerable<EdmError>%) | Overloaded. Determines if the type of an expression is compatible with the provided type. (Defined by ExpressionTypeChecker.) | |
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.