Share via


DocumentSettingsPart.AddMailMergeRecipientDataPart Method

Definition

Overloads

AddMailMergeRecipientDataPart(MailMergeRecipientDataPartType)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

AddMailMergeRecipientDataPart(String)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

AddMailMergeRecipientDataPart(MailMergeRecipientDataPartType, String)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

AddMailMergeRecipientDataPart(String, String)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

AddMailMergeRecipientDataPart(MailMergeRecipientDataPartType)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

public DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart AddMailMergeRecipientDataPart (DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPartType partType);
member this.AddMailMergeRecipientDataPart : DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPartType -> DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart
Public Function AddMailMergeRecipientDataPart (partType As MailMergeRecipientDataPartType) As MailMergeRecipientDataPart

Parameters

partType
MailMergeRecipientDataPartType

The part type of the MailMergeRecipientDataPart

Returns

The newly added part.

Applies to

AddMailMergeRecipientDataPart(String)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

public DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart AddMailMergeRecipientDataPart (string contentType);
member this.AddMailMergeRecipientDataPart : string -> DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart
Public Function AddMailMergeRecipientDataPart (contentType As String) As MailMergeRecipientDataPart

Parameters

contentType
String

The content type of the MailMergeRecipientDataPart

Returns

The newly added part.

Applies to

AddMailMergeRecipientDataPart(MailMergeRecipientDataPartType, String)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

public DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart AddMailMergeRecipientDataPart (DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPartType partType, string id);
member this.AddMailMergeRecipientDataPart : DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPartType * string -> DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart
Public Function AddMailMergeRecipientDataPart (partType As MailMergeRecipientDataPartType, id As String) As MailMergeRecipientDataPart

Parameters

partType
MailMergeRecipientDataPartType

The part type of the MailMergeRecipientDataPart

id
String

The relationship id

Returns

The newly added part.

Applies to

AddMailMergeRecipientDataPart(String, String)

Adds a MailMergeRecipientDataPart to the DocumentSettingsPart

public DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart AddMailMergeRecipientDataPart (string contentType, string id);
member this.AddMailMergeRecipientDataPart : string * string -> DocumentFormat.OpenXml.Packaging.MailMergeRecipientDataPart
Public Function AddMailMergeRecipientDataPart (contentType As String, id As String) As MailMergeRecipientDataPart

Parameters

contentType
String

The content type of the MailMergeRecipientDataPart

id
String

The relationship id

Returns

The newly added part.

Applies to