Click or drag to resize

AutomationMLContainerAddPLCopenXml(PackagePart, Stream, Uri, Boolean) Method

Adds a PLCopenXml part read from a stream resource 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,
	Stream inStream,
	Uri partUri,
	bool addPackageRelation = true
)

Parameters

rootDocument  PackagePart
package part, containing the parent root document
inStream  Stream
PLCopenXml stream
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