Share via


MailMergeRecipientDataPart.MailMergeRecipients Property

Gets/Sets the part's root element when the part's content type is MailMergeRecipientDataPartType.MsWordMailMergeRecipientData. Setting this property will throw InvalidOperationException if the Recipients property is not null.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Property MailMergeRecipients As MailMergeRecipients
    Get
    Set
'Usage
Dim instance As MailMergeRecipientDataPart
Dim value As MailMergeRecipients

value = instance.MailMergeRecipients

instance.MailMergeRecipients = value
public MailMergeRecipients MailMergeRecipients { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Office.Word.MailMergeRecipients

See Also

Reference

MailMergeRecipientDataPart Class

MailMergeRecipientDataPart Members

DocumentFormat.OpenXml.Packaging Namespace