StatusText.Val 属性

定义

状态文本值

表示架构中的以下属性:w:val

[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue Val { get; set; }
public DocumentFormat.OpenXml.StringValue Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
Public Property Val As StringValue

属性值

返回 StringValue

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定当前窗体域的状态文本。 根据 属性的值 type ,此字段的内容应解释为:

  • type当属性值为 text时,它包含窗体字段的文本状态文本。

  • type当属性值为 autoText时,它包含术语表文档条目的名称,其中包含窗体域的状态文本。

请考虑窗体域的以下 WordprocessingML 片段:

<w:ffData>  
  <w:statusText w:type="autoText" w:val="MyStatusText" />  
</w:ffData>  

属性中的 val 文本是包含此窗体字段的状态文本的术语表文档条目的名称,因为 该 type 属性的值 autoText为 。

此属性的可能值由 ST_FFStatusTextVal 简单类型定义。

适用于