Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

M_AML_Container_AutomationMLContainer_AddPLCopenXml

AutomationML edited this page Feb 23, 2017 · 2 revisions

AutomationMLContainer.AddPLCopenXml Method (PackagePart, Stream, Uri)

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.Container
Assembly: AMLEngineExtensions (in AMLEngineExtensions.dll) Version: 3.5

Syntax

C#

public PackagePart AddPLCopenXml(
	PackagePart rootDocument,
	Stream inStream,
	Uri partUri
)

C++

public:
PackagePart^ AddPLCopenXml(
	PackagePart^ rootDocument, 
	Stream^ inStream, 
	Uri^ partUri
)

Parameters

 

rootDocument
Type: System.IO.Packaging.PackagePart
package part, containing the parent root document
inStream
Type: System.IO.Stream
PLCopenXml stream
partUri
Type: System.Uri
package internal name of the part

Return Value

Type: PackagePart
added part

See Also

Reference

AutomationMLContainer Class
AddPLCopenXml Overload
AML.Container Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally