FileRecoveryProperties.AutoRecover 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
自动恢复
表示架构中的以下属性:autoRecover
[DocumentFormat.OpenXml.SchemaAttr(0, "autoRecover")]
public DocumentFormat.OpenXml.BooleanValue AutoRecover { get; set; }
public DocumentFormat.OpenXml.BooleanValue AutoRecover { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "autoRecover")]
public DocumentFormat.OpenXml.BooleanValue? AutoRecover { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("autoRecover")]
public DocumentFormat.OpenXml.BooleanValue? AutoRecover { get; set; }
public DocumentFormat.OpenXml.BooleanValue? AutoRecover { get; set; }
member this.AutoRecover : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "autoRecover")>]
member this.AutoRecover : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("autoRecover")>]
member this.AutoRecover : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property AutoRecover As BooleanValue
属性值
返回 BooleanValue。
- 属性
注解
使用此类时,来自 ECMA 国际Standard ECMA-376 的以下信息可能很有用。
指定一个布尔值,该值指示文件是否标记为自动恢复。 应用程序通常会在崩溃后将文件标记为自动恢复。
值 on、 1或 true 指示文件标记为自动恢复。
值 off、 0或 false 指示文件未标记为自动恢复。
此属性的默认值为 false。
此属性的可能值由 XML 架构 boolean 数据类型定义。