EdmEnumMemberExpression Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an EDM enumeration member reference expression.
public class EdmEnumMemberExpression : Microsoft.OData.Edm.EdmElement, Microsoft.OData.Edm.Vocabularies.IEdmEnumMemberExpression
type EdmEnumMemberExpression = class
inherit EdmElement
interface IEdmEnumMemberExpression
interface IEdmExpression
interface IEdmElement
Public Class EdmEnumMemberExpression
Inherits EdmElement
Implements IEdmEnumMemberExpression
- Inheritance
- Implements
Constructors
EdmEnumMemberExpression(IEdmEnumMember[]) |
Initializes a new instance of the EdmEnumMemberExpression class. |
Properties
EnumMembers |
Gets the referenced enum member. |
ExpressionKind |
Gets the kind of this expression. |
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. |