EnumValue<T> Class 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the enum value for attributes.
public class EnumValue<T> : DocumentFormat.OpenXml.OpenXmlSimpleValue<T> where T : structpublic class EnumValue<T> : DocumentFormat.OpenXml.OpenXmlSimpleType where T : structtype EnumValue<'T (requires 'T : struct)> = class
    inherit OpenXmlSimpleValue<'T (requires 'T : struct)>type EnumValue<'T (requires 'T : struct)> = class
    inherit OpenXmlSimpleTypePublic Class EnumValue(Of T)
Inherits OpenXmlSimpleValue(Of T)Public Class EnumValue(Of T)
Inherits OpenXmlSimpleTypeType Parameters
- T
Type of enum.
- Inheritance
- Inheritance
Constructors
| EnumValue<T>() | Initializes a new instance of the EnumValue<T> class. | 
| EnumValue<T>(EnumValue<T>) | Initializes a new instance of the EnumValue<T> by deep copying the supplied EnumValue<T> class. | 
| EnumValue<T>(T) | Initializes a new instance of the EnumValue<T> class using the supplied value of type T. | 
Properties
| HasValue | |
| HasValue | Gets a value that indicates whether the underneath text value is a valid value.(Inherited from OpenXmlSimpleValue<T>) | 
| InnerText | |
| InnerText | Gets or sets the inner XML text.(Inherited from OpenXmlSimpleValue<T>) | 
| TextValue | 
		Obsolete.
	 Gets or sets the internal raw text value. DO NOT use this property. Only for OpenXmlSimpleType.cs internal use.(Inherited from OpenXmlSimpleType) | 
| Value | |
| Value | Gets or sets the value of the simple value.(Inherited from OpenXmlSimpleValue<T>) | 
Methods
| Clone() | Creates a duplicate of the current value.(Inherited from OpenXmlSimpleType) | 
| Equals(Object) | (Inherited from OpenXmlSimpleValue<T>) | 
| GetHashCode() | (Inherited from OpenXmlSimpleValue<T>) | 
| ToString() | Returns a String that represents the current value.(Inherited from OpenXmlSimpleType) | 
Operators
| Implicit(EnumValue<T> to String) | Implicitly converts the specified value to a String value. | 
| Implicit(EnumValue<T> to T) | Implicitly converts the specified value to an enum. | 
| Implicit(T to EnumValue<T>) | Initializes a new EnumValue class by converting the supplied enum value. |