Share via


IEdmEnumValue Interface

Represents an EDM enumeration type value.

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

Syntax

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

The IEdmEnumValue type exposes the following members.

Properties

  Name Description
Public property Type Gets the type of this value. (Inherited from IEdmValue.)
Public property Value Gets the underlying type value of the enumeration type.
Public property ValueKind Gets the kind of this value. (Inherited from IEdmValue.)

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 IsSerializedAsElement Gets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method SetIsSerializedAsElement Sets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm.Values Namespace