Поделиться через


OneOf Class

Defines the OneOf Class.When the object is serialized out as xml, its qualified name is emma:one-of.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.EMMA.OneOf

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Sequence))> _
<ChildElementInfoAttribute(GetType(Group))> _
<ChildElementInfoAttribute(GetType(OneOf))> _
<ChildElementInfoAttribute(GetType(DerivedFrom))> _
<ChildElementInfoAttribute(GetType(Info))> _
<ChildElementInfoAttribute(GetType(Interpretation))> _
Public Class OneOf _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As OneOf
[ChildElementInfoAttribute(typeof(Sequence))]
[ChildElementInfoAttribute(typeof(Group))]
[ChildElementInfoAttribute(typeof(OneOf))]
[ChildElementInfoAttribute(typeof(DerivedFrom))]
[ChildElementInfoAttribute(typeof(Info))]
[ChildElementInfoAttribute(typeof(Interpretation))]
public class OneOf : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DerivedFrom <emma:derived-from>

  • Info <emma:info>

  • Interpretation <emma:interpretation>

  • OneOf <emma:one-of>

  • Group <emma:group>

  • Sequence <emma:sequence>

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

OneOf Members

DocumentFormat.OpenXml.EMMA Namespace