Compartir a través de


EnumValue<T> Class

Defines EnumValue - enum value for attributes.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlSimpleType
    DocumentFormat.OpenXml.EnumValue<T>

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

Syntax

'Declaration
Public Class EnumValue(Of T As {Structure, New}) _
    Inherits OpenXmlSimpleType
'Usage
Dim instance As EnumValue(Of T)
public class EnumValue<T> : OpenXmlSimpleType
where T : struct, new()

Type Parameters

  • T
    Must be enum with EnumStringValueAttribute on every enum value.

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.

See Also

Reference

EnumValue<T> Members

DocumentFormat.OpenXml Namespace