MailMergeSource Class
ODSO Data Source Type.When the object is serialized out as xml, its qualified name is w:type.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.MailMergeSource
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class MailMergeSource _
Inherits OpenXmlLeafElement
'Usage
Dim instance As MailMergeSource
public class MailMergeSource : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 1st Edition]
17.14.32 type (ODSO Data Source Type)
This element specifies the type of external data source to be connected to via as part of the ODSO connection information for this mail merge. This setting is purely a suggestion of the data source type which is being used for this mail merge, and can be ignored in favor of an alternative mechanism if one is present.
[Example: Consider the following WordprocessingML fragment for a mail merge source or merged document:
<w:type w:val="database" />
The type element's val attribute is equal to database, specifying that the given merged WordprocessingML document has been connected to an external data source via the ODSO settings, and that the resulting data source was a database. end example]
Parent Elements |
---|
odso (§17.14.25) |
Attributes |
Description |
---|---|
val (Data Source Type Value) |
Specifies the type of an external data source used for a mail merge operation. [Example: Consider the following WordprocessingML fragment for a mail merge source or merged document: <w:type w:val="text" /> The val attribute is equal to text, specifying that the given merged WordprocessingML document has been connected to an external data source via the ODSO settings, and that the resulting data source was a text file. end example] The possible values for this attribute are defined by the ST_MailMergeSourceType simple type (§17.18.56). |
[Note: The W3C XML Schema definition of this element’s content model (CT_MailMergeSourceType) is located in §A.1. end note]
© ISO/IEC29500: 2008.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.