Share via


FileVersion Class

File Version.When the object is serialized out as xml, its qualified name is x:fileVersion.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Spreadsheet.FileVersion

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

Syntax

'宣言
Public Class FileVersion _
    Inherits OpenXmlLeafElement
'使用
Dim instance As FileVersion
public class FileVersion : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 初版]

18.2.13 fileVersion (File Version)

This element defines properties that track which version of the application accessed the data and source code contained in the file.

Parent Elements

workbook (§18.2.27)

Attributes

Description

appName (Application Name)

Specifies the application name. When saving, applications can write their appName value and optionally write lastEdited and lowestEdited attributes to track the version of the application that performed those actions. When opening the workbook, applications can examine the value of appName and decide how to interpret the lastEdited, lowestEdited, and rupBuild attributes.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

codeName (Code Name)

Specifies the GUID that identifies the code project that is associated with the workbook.

[Note: the primary use of this attribute is to track the version of the compiled code.]

The possible values for this attribute are defined by the ST_Guid simple type (§22.9.2.4).

lastEdited (Last Edited Version)

Specifies the version of the application that last saved the workbook. This attribute is application-dependent.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

lowestEdited (Lowest Edited Version)

Specifies the earliest version of the application that saved the workbook. This value is reset any time an application that can read all data in the file saves the file. This attribute is application-dependent.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

rupBuild (Build Version)

Specifies the incremental public release of the application. [Example: Betas, service packs, and versions. end example]

The possible values for this attribute are defined by the W3C XML Schema string datatype.

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

FileVersion Members

DocumentFormat.OpenXml.Spreadsheet Namespace