Share via


IEdmEnumMember Interface

Represents a definition of an EDM enumeration type member.

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

Syntax

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

The IEdmEnumMember type exposes the following members.

Properties

  Name Description
Public property DeclaringType Gets the type that this member belongs to.
Public property Name Gets the name of this element. (Inherited from IEdmNamedElement.)
Public property Value Gets the value of this enumeration type member.

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 IsValueExplicit Gets an annotation indicating whether the value of an enum member should be explicitly serialized. (Defined by SerializationExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method SetIsValueExplicit Sets an annotation indicating whether the value of an enum member should be explicitly serialized. (Defined by SerializationExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm Namespace