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


FileRecoveryProperties Class

File Recovery Properties.When the object is serialized out as xml, its qualified name is x:fileRecoveryPr.

Inheritance Hierarchy

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

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

Syntax

'Декларация
Public Class FileRecoveryProperties _
    Inherits OpenXmlLeafElement
'Применение
Dim instance As FileRecoveryProperties
public class FileRecoveryProperties : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 редакция 1]

18.2.11 fileRecoveryPr (File Recovery Properties)

This element defines properties that track the state of the workbook file, such as whether the file was saved during a crash, or whether it should be opened in auto-recover mode.

Parent Elements

workbook (§18.2.27)

Attributes

Description

autoRecover (Auto Recover)

Specifies a boolean value that indicates whether the file is mark for auto-recovery. Applications typically mark files for auto-recover following a crash.

A value of 1 or true indicates the file is marked for auto-recover.

A value of 0 or false indicates the file is not marked for auto-recover.

The default value for this attribute is false.

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

crashSave (Crash Save)

Specifies a boolean value that indicates whether the application last saved the workbook file after a crash.

A value of 1 or true indicates the workbook was last saved after a crash.

A value of 0 or false indicates was not last saved as part of a crash.

The default value for this attribute is false.

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

dataExtractLoad (Data Extract Load)

Specifies a boolean value that indicates whether the application last opened the workbook for data recovery.

A value of 1 or true indicates the workbook was last opened for data recovery.

A value of 0 or false indicates was not last opened for data recovery.

The default value for this attribute is true.

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

repairLoad (Repair Load)

Specifies a boolean value that indicates whether the application last opened the workbook in safe or repair mode.

A value of 1 or true indicates the workbook was last opened in safe or repair mode.

A value of 0 or false indicates the workbook was last opened without problems.

The default value for this attribute is false.

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

[Note: The W3C XML Schema definition of this element's content model (CT_FileRecoveryPr) 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

FileRecoveryProperties Members

DocumentFormat.OpenXml.Spreadsheet Namespace