This documentation is archived and is not being maintained.

EnumValue<T> Class

Defines EnumValue - 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


Must be enum with EnumStringValueAttribute on every enum value.

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