EnumValue<T> class

Office 2013 and later

Represents the enum value for attributes.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class EnumValue<T> : OpenXmlSimpleType
where T : struct, new()

Type parameters


Every enum value must be an enum with the EnumStringValueAttribute object.

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