OpenXMLDocuments.MergeDocuments Method
Applies to: SharePoint Foundation 2010
Opens the specified XML document or form for merging, or for handling multiple XML documents or forms, within its associated application.
expression.MergeDocuments(bstrTemplateLocation As String, varDocuments, bstrDefaultSaveLocation As String)
Parameters
expression
An expression that returns an OpenXMLDocuments Control object.
bstrTemplateLocation
A string that contains the URL of the location of the XML document or form to open for merging.
varDocuments
An Object representing a collection of XML documents or forms, expressed as variants, to be merged. Implementation includes the ability to pass a single variant, a collection of variants, or null. The SharePoint Foundation form library's combine.aspx page passes NULL, a single XML document or form URL, or a collection of XML document or form URLs..
bstrDefaultSaveLocation
A string that contains the URL that specifies the default location for saving for the resulting XML document or form that has been merged.
Return Value
true if the XML document or form template successfully opens; otherwise false.