EdmEnumMember Class
Represents a member of an EDM enumeration type.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmNamedElement
Microsoft.Data.Edm.Library.EdmEnumMember
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmEnumMember _
Inherits EdmNamedElement _
Implements IEdmEnumMember, IEdmNamedElement, IEdmElement
'Usage
Dim instance As EdmEnumMember
public class EdmEnumMember : EdmNamedElement,
IEdmEnumMember, IEdmNamedElement, IEdmElement
public ref class EdmEnumMember : public EdmNamedElement,
IEdmEnumMember, IEdmNamedElement, IEdmElement
type EdmEnumMember =
class
inherit EdmNamedElement
interface IEdmEnumMember
interface IEdmNamedElement
interface IEdmElement
end
public class EdmEnumMember extends EdmNamedElement implements IEdmEnumMember, IEdmNamedElement, IEdmElement
The EdmEnumMember type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
EdmEnumMember | Initializes a new instance of the EdmEnumMember class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
DeclaringType | Gets the type that this member belongs to. |
![]() |
Name | Gets the name of this element. (Inherited from EdmNamedElement.) |
![]() |
Value | Gets the value of this enumeration type member. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
![]() |
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.) |
![]() |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) |
![]() |
IsValueExplicit | Gets an annotation indicating whether the value of an enum member should be explicitly serialized. (Defined by SerializationExtensionMethods.) |
![]() |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) |
![]() |
SetIsValueExplicit | Sets an annotation indicating whether the value of an enum member should be explicitly serialized. (Defined by SerializationExtensionMethods.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.