共用方式為


Properties Class

Application Specific File Properties. It is the root element of ExtendedFilePropertiesPart.When the object is serialized out as xml, its qualified name is ap:Properties.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.ExtendedProperties.Properties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TitlesOfParts))> _
<ChildElementInfoAttribute(GetType(HyperlinksChanged))> _
<ChildElementInfoAttribute(GetType(ScaleCrop))> _
<ChildElementInfoAttribute(GetType(Template))> _
<ChildElementInfoAttribute(GetType(Manager))> _
<ChildElementInfoAttribute(GetType(Company))> _
<ChildElementInfoAttribute(GetType(Pages))> _
<ChildElementInfoAttribute(GetType(Words))> _
<ChildElementInfoAttribute(GetType(Characters))> _
<ChildElementInfoAttribute(GetType(PresentationFormat))> _
<ChildElementInfoAttribute(GetType(Lines))> _
<ChildElementInfoAttribute(GetType(Paragraphs))> _
<ChildElementInfoAttribute(GetType(Slides))> _
<ChildElementInfoAttribute(GetType(Notes))> _
<ChildElementInfoAttribute(GetType(TotalTime))> _
<ChildElementInfoAttribute(GetType(HiddenSlides))> _
<ChildElementInfoAttribute(GetType(MultimediaClips))> _
<ChildElementInfoAttribute(GetType(HeadingPairs))> _
<ChildElementInfoAttribute(GetType(LinksUpToDate))> _
<ChildElementInfoAttribute(GetType(CharactersWithSpaces))> _
<ChildElementInfoAttribute(GetType(SharedDocument))> _
<ChildElementInfoAttribute(GetType(HyperlinkBase))> _
<ChildElementInfoAttribute(GetType(HyperlinkList))> _
<ChildElementInfoAttribute(GetType(DigitalSignature))> _
<ChildElementInfoAttribute(GetType(Application))> _
<ChildElementInfoAttribute(GetType(ApplicationVersion))> _
<ChildElementInfoAttribute(GetType(DocumentSecurity))> _
Public Class Properties _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As Properties
[ChildElementInfoAttribute(typeof(TitlesOfParts))]
[ChildElementInfoAttribute(typeof(HyperlinksChanged))]
[ChildElementInfoAttribute(typeof(ScaleCrop))]
[ChildElementInfoAttribute(typeof(Template))]
[ChildElementInfoAttribute(typeof(Manager))]
[ChildElementInfoAttribute(typeof(Company))]
[ChildElementInfoAttribute(typeof(Pages))]
[ChildElementInfoAttribute(typeof(Words))]
[ChildElementInfoAttribute(typeof(Characters))]
[ChildElementInfoAttribute(typeof(PresentationFormat))]
[ChildElementInfoAttribute(typeof(Lines))]
[ChildElementInfoAttribute(typeof(Paragraphs))]
[ChildElementInfoAttribute(typeof(Slides))]
[ChildElementInfoAttribute(typeof(Notes))]
[ChildElementInfoAttribute(typeof(TotalTime))]
[ChildElementInfoAttribute(typeof(HiddenSlides))]
[ChildElementInfoAttribute(typeof(MultimediaClips))]
[ChildElementInfoAttribute(typeof(HeadingPairs))]
[ChildElementInfoAttribute(typeof(LinksUpToDate))]
[ChildElementInfoAttribute(typeof(CharactersWithSpaces))]
[ChildElementInfoAttribute(typeof(SharedDocument))]
[ChildElementInfoAttribute(typeof(HyperlinkBase))]
[ChildElementInfoAttribute(typeof(HyperlinkList))]
[ChildElementInfoAttribute(typeof(DigitalSignature))]
[ChildElementInfoAttribute(typeof(Application))]
[ChildElementInfoAttribute(typeof(ApplicationVersion))]
[ChildElementInfoAttribute(typeof(DocumentSecurity))]
public class Properties : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • Template <ap:Template>

  • Manager <ap:Manager>

  • Company <ap:Company>

  • Pages <ap:Pages>

  • Words <ap:Words>

  • Characters <ap:Characters>

  • PresentationFormat <ap:PresentationFormat>

  • Lines <ap:Lines>

  • Paragraphs <ap:Paragraphs>

  • Slides <ap:Slides>

  • Notes <ap:Notes>

  • TotalTime <ap:TotalTime>

  • HiddenSlides <ap:HiddenSlides>

  • MultimediaClips <ap:MMClips>

  • ScaleCrop <ap:ScaleCrop>

  • HeadingPairs <ap:HeadingPairs>

  • TitlesOfParts <ap:TitlesOfParts>

  • LinksUpToDate <ap:LinksUpToDate>

  • CharactersWithSpaces <ap:CharactersWithSpaces>

  • SharedDocument <ap:SharedDoc>

  • HyperlinkBase <ap:HyperlinkBase>

  • HyperlinkList <ap:HLinks>

  • HyperlinksChanged <ap:HyperlinksChanged>

  • DigitalSignature <ap:DigSig>

  • Application <ap:Application>

  • ApplicationVersion <ap:AppVersion>

  • DocumentSecurity <ap:DocSecurity>

[ISO/IEC 29500-1 1st Edition]

22.2.2.21 Properties (Application Specific File Properties)

This element specifies the application properties of a document. For properties of type string, NCR escape format (_xHHHH_) is used for any invalid XML characters.

Parent Elements

Root element of Shared Extended File Properties part

Child Elements

Subclause

Application (Application Name)

§22.2.2.1

AppVersion (Application Version)

§22.2.2.2

Characters (Total Number of Characters)

§22.2.2.3

CharactersWithSpaces (Number of Characters (With Spaces))

§22.2.2.4

Company (Name of Company)

§22.2.2.5

DigSig (Digital Signature)

§22.2.2.6

DocSecurity (Document Security)

§22.2.2.7

HeadingPairs (Heading Pairs)

§22.2.2.8

HiddenSlides (Number of Hidden Slides)

§22.2.2.9

HLinks (Hyperlink List)

§22.2.2.10

HyperlinkBase (Relative Hyperlink Base)

§22.2.2.11

HyperlinksChanged (Hyperlinks Changed)

§22.2.2.12

Lines (Number of Lines)

§22.2.2.13

LinksUpToDate (Links Up-to-Date)

§22.2.2.14

Manager (Name of Manager)

§22.2.2.15

MMClips (Total Number of Multimedia Clips)

§22.2.2.16

Notes (Number of Slides Containing Notes)

§22.2.2.17

Pages (Total Number of Pages)

§22.2.2.18

Paragraphs (Total Number of Paragraphs)

§22.2.2.19

PresentationFormat (Intended Format of Presentation)

§22.2.2.20

ScaleCrop (Thumbnail Display Mode)

§22.2.2.22

SharedDoc (Shared Document)

§22.2.2.23

Slides (Slides Metadata Element)

§22.2.2.24

Template (Name of Document Template)

§22.2.2.25

TitlesOfParts (Part Titles)

§22.2.2.26

TotalTime (Total Edit Time Metadata Element)

§22.2.2.27

Words (Word Count)

§22.2.2.28

[Note: The W3C XML Schema definition of this element’s content model (CT_Properties) is located in §A.6.2. end note]

© ISO/IEC29500: 2008.

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

Properties Members

DocumentFormat.OpenXml.ExtendedProperties Namespace