Destination.Val 属性

定义

邮件合并合并文档类型

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

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

属性值

返回 EnumValue<T>

属性

注解

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

指定合并文档的类型,该类型应是对给定源 WordprocessingML 文档执行邮件合并的结果。

请考虑按如下所示指定的 WordprocessingML 邮件合并数据:

<w:destination w:val="email" />  

这指定托管应用程序将使用给定合并的 WordprocessingML 文档来生成包含合并文档的静态内容以及填充到映射字段中的外部数据的电子邮件。

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

适用于