Share via


EnumMember Class

Definition

Represents an enumeration member.

public sealed class EnumMember : System.Data.Entity.Core.Metadata.Edm.MetadataItem
type EnumMember = class
    inherit MetadataItem
Public NotInheritable Class EnumMember
Inherits MetadataItem
Inheritance
EnumMember

Properties

BuiltInTypeKind

Gets the kind of this type.

Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)
Name

Gets the name of this enumeration member.

Value

Gets the value of this enumeration member.

Methods

AddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.

(Inherited from MetadataItem)
Create(String, Byte, IEnumerable<MetadataProperty>)

Creates a read-only EnumMember instance.

Create(String, Int16, IEnumerable<MetadataProperty>)

Creates a read-only EnumMember instance.

Create(String, Int32, IEnumerable<MetadataProperty>)

Creates a read-only EnumMember instance.

Create(String, Int64, IEnumerable<MetadataProperty>)

Creates a read-only EnumMember instance.

Create(String, SByte, IEnumerable<MetadataProperty>)

Creates a read-only EnumMember instance.

RemoveAnnotation(String)

Removes an annotation with the specified name.

(Inherited from MetadataItem)
ToString()

Overriding System.Object.ToString to provide better String representation for this type.

Applies to