Freigeben über


EnumStringAttribute-Klasse

Defines EnumStringAttribute, custom attribute for fields in generated Enum.

Vererbungshierarchie

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

EnumStringAttribute-Member

DocumentFormat.OpenXml-Namespace