MailMergeRecipientDataPart.Recipients 属性

定义

当部件的内容类型为 MailMergeRecipientDataPartType.OpenXmlMailMergeRecipientData 时,获取或设置部件的根元素。 如果 MailMergeRecipients 属性不为 null,设置此属性将引发 InvalidOperationException。

public DocumentFormat.OpenXml.Wordprocessing.Recipients Recipients { get; set; }
public DocumentFormat.OpenXml.Wordprocessing.Recipients? Recipients { get; set; }
member this.Recipients : DocumentFormat.OpenXml.Wordprocessing.Recipients with get, set
Public Property Recipients As Recipients

属性值

适用于