MailMergeRecipientDataPart.Recipients Property
Gets/Sets the part's root element when the part's content type is MailMergeRecipientDataPartType.OpenXmlMailMergeRecipientData. Setting this property will throw InvalidOperationException if the MailMergeRecipients property is not null.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Property Recipients As Recipients
Get
Set
'Usage
Dim instance As MailMergeRecipientDataPart
Dim value As Recipients
value = instance.Recipients
instance.Recipients = value
public Recipients Recipients { get; set; }
Property Value
Type: DocumentFormat.OpenXml.Wordprocessing.Recipients
See Also
Reference
MailMergeRecipientDataPart Class