Partager via


PrimaryItem Class

Defines the PrimaryItem Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is mso14:primaryItem.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.CustomUI.PrimaryItem

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(BackstageRegularButton), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(BackstagePrimaryMenu), FileFormatVersions.Office2010)> _
Public Class PrimaryItem _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PrimaryItem
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(BackstageRegularButton), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(BackstagePrimaryMenu), FileFormatVersions.Office2010)]
public class PrimaryItem : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • BackstageRegularButton <mso14:button>

  • BackstagePrimaryMenu <mso14:menu>

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

PrimaryItem Members

DocumentFormat.OpenXml.Office2010.CustomUI Namespace