EdmEnumValue Class

WCF Data Services 5.0

Represents an EDM enumeration type value.

System.Object
  Microsoft.Data.Edm.Library.Values.EdmValue
    Microsoft.Data.Edm.Library.Values.EdmEnumValue

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

public class EdmEnumValue : EdmValue, 
	IEdmEnumValue, IEdmPrimitiveValue, IEdmValue, IEdmElement

The EdmEnumValue type exposes the following members.

  NameDescription
Public methodEdmEnumValue(IEdmEnumTypeReference, IEdmEnumMember)Initializes a new instance of the EdmEnumValue class.
Public methodEdmEnumValue(IEdmEnumTypeReference, IEdmPrimitiveValue)Initializes a new instance of the EdmEnumValue class.
Top

  NameDescription
Public propertyTypeGets the type of this value. (Inherited from EdmValue.)
Public propertyValueGets or sets the underlying type value of the enumeration type.
Public propertyValueKindGets the kind of this value. (Overrides EdmValue.ValueKind.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public Extension MethodErrorsGets 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 MethodIsBadIndicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension MethodIsSerializedAsElement Gets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.)
Public Extension MethodLocationGets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension MethodSetIsSerializedAsElement Sets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.)
Top

  NameDescription
Explicit interface implemetationPrivate propertyIEdmDelayedValue.ValueGets the value of the specified object. (Inherited from EdmValue.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: