MailMergeFieldType.Val 属性

定义

合并字段映射类型

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

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

属性值

返回 EnumValue<T>

属性

注解

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

指定给定的邮件合并字段是否已映射到给定外部数据源中的列 (,即合并字段映射是否有效或未) 。

对于邮件合并源或合并文档,请考虑以下 WordprocessingML 片段:

<w:type w:val="null" />  

在此示例中,给定的邮件合并字段不应映射到给定外部数据源中的列,该列由 type 元素的 val 属性指定为 null等于 。

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

适用于