Click or drag to resize

AutomationMLContainerAddPLCopenXml(PackagePart, String, Uri, Boolean) Method

Adds a PLCopenXml file to the package and creates relationships to the package and to the package part containing the root document using the relationship type PLCopenXml.

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public PackagePart AddPLCopenXml(
	PackagePart rootDocument,
	string fileName,
	Uri partUri,
	bool addPackageRelation = true
)

Parameters

rootDocument  PackagePart
package part, containing the parent root document
fileName  String
full name of the file which should be added
partUri  Uri
package internal name of the part
addPackageRelation  Boolean  (Optional)
optional parameter, defining if a package relation should be added

Return Value

PackagePart
added part
Revision History
DateVersionDescription
08/03/20211.6.3.0addPackageRelation added as an additional optional parameter, defining if a package relation should be added.
See Also