DocPartTypes.All 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
条目为所有类型
表示架构中的以下属性:w:all
[DocumentFormat.OpenXml.SchemaAttr(23, "all")]
public DocumentFormat.OpenXml.OnOffValue All { get; set; }
public DocumentFormat.OpenXml.OnOffValue All { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "all")]
public DocumentFormat.OpenXml.OnOffValue? All { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:all")]
public DocumentFormat.OpenXml.OnOffValue? All { get; set; }
public DocumentFormat.OpenXml.OnOffValue? All { get; set; }
member this.All : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "all")>]
member this.All : DocumentFormat.OpenXml.OnOffValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:all")>]
member this.All : DocumentFormat.OpenXml.OnOffValue with get, set
Public Property All As OnOffValue
属性值
返回 EnumValue<T>。
- 属性
注解
使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。
指定当前术语表文档是所有类型。 此属性应重写指定为此元素的子元素的任何信息,并应确保当前条目与所有可用类型相关联。
如果省略此属性,则其默认值应假定为 false
。
对于单个术语表文档条目的属性,请考虑以下 WordprocessingML 片段:
<w:docPartPr>
<w:types w:all="true">
<w:type w:val="autoExp" />
</w:types>
…
<w:docPartPr>
元素 types
包含单个条目类型定义,但由于 all
属性存在值 true
,因此会扩充该类型,以便将父项置于所有可能的类型中。
此属性的可能值由 ST_OnOff
简单类型定义。