Freigeben über


PrimaryItem-Klasse

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.

Vererbungshierarchie

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

Hinweise

The following table lists the possible child types:

  • BackstageRegularButton <mso14:button>

  • BackstagePrimaryMenu <mso14:menu>

Threadsicherheit

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

Siehe auch

Referenz

PrimaryItem-Member

DocumentFormat.OpenXml.Office2010.CustomUI-Namespace