EnumStringAttribute Class

Defines EnumStringAttribute, custom attribute for fields in generated Enum.

Inheritance Hierarchy

System.Object
  System.Attribute
    DocumentFormat.OpenXml.EnumStringAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Field, Inherited := False, AllowMultiple := False)> _
Public NotInheritable Class EnumStringAttribute _
    Inherits Attribute
'Usage
Dim instance As EnumStringAttribute
[AttributeUsageAttribute(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
public sealed class EnumStringAttribute : Attribute

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

EnumStringAttribute Members

DocumentFormat.OpenXml Namespace