Share via


IEdmEnumType Interface

Represents a definition of an EDM enumeration type.

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

Syntax

'Declaration
Public Interface IEdmEnumType _
    Inherits IEdmSchemaType, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable,  _
    IEdmType, IEdmElement
'Usage
Dim instance As IEdmEnumType
public interface IEdmEnumType : IEdmSchemaType, 
    IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmType, IEdmElement
public interface class IEdmEnumType : IEdmSchemaType, 
    IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmType, IEdmElement
type IEdmEnumType =  
    interface 
        interface IEdmSchemaType 
        interface IEdmSchemaElement 
        interface IEdmNamedElement 
        interface IEdmVocabularyAnnotatable 
        interface IEdmType 
        interface IEdmElement 
    end
public interface IEdmEnumType extends IEdmSchemaType, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmType, IEdmElement

The IEdmEnumType type exposes the following members.

Properties

  Name Description
Public property IsFlags Gets a value indicating whether the enumeration type can be treated as a bit field.
Public property Members Gets the members of this enumeration type.
Public property Name Gets the name of this element. (Inherited from IEdmNamedElement.)
Public property Namespace Gets the namespace this schema element belongs to. (Inherited from IEdmSchemaElement.)
Public property SchemaElementKind Gets the kind of this schema element. (Inherited from IEdmSchemaElement.)
Public property TypeKind Gets the kind of this type. (Inherited from IEdmType.)
Public property UnderlyingType Gets the underlying type of this enumeration 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 FullName Gets the full name with the specified element. (Defined by ExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method IsEquivalentTo Indicates a value whether the compared type is semantically equivalent to this type. (Defined by EdmElementComparer.)
Public Extension Method IsOrInheritsFrom Determines whether a type is equivalent to or derived from another type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSpatial Determines whether this definition refers to a spatial type. (Defined by EdmTypeSemantics.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method VocabularyAnnotations Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm Namespace