Edit

Share via


EnumType Class

Definition

Represents an enumeration type.

public ref class EnumType : System::Data::Metadata::Edm::SimpleType
public class EnumType : System.Data.Metadata.Edm.SimpleType
type EnumType = class
    inherit SimpleType
Public Class EnumType
Inherits SimpleType
Inheritance

Properties

Abstract

Gets a value indicating whether this type is abstract or not.

(Inherited from EdmType)
BaseType

Gets the base type of this type.

(Inherited from EdmType)
BuiltInTypeKind

Returns the kind of the type.

Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
FullName

Gets the full name of this type.

(Inherited from EdmType)
IsFlags

Gets a value indicating whether the enum type is defined as flags (i.e. can be treated as a bit field)

Members

Gets a collection of enumeration members for this enumeration type.

MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)
Name

Gets the name of this type.

(Inherited from EdmType)
NamespaceName

Gets the namespace of this type.

(Inherited from EdmType)
UnderlyingType

Gets the underlying type for this enumeration type.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCollectionType()

Returns an instance of the CollectionType whose element type is this type.

(Inherited from EdmType)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the full name of this type.

(Inherited from EdmType)

Applies to