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

M_AML_Container_AutomationMLContainer_AddLibrary_1

AutomationML edited this page Feb 23, 2017 · 2 revisions

AutomationMLContainer.AddLibrary Method (PackagePart, String, Uri)

Adds a library file to the package and creates relationships to the package and to the package containing the root document using the Library.

Namespace: AML.Container
Assembly: AMLEngineExtensions (in AMLEngineExtensions.dll) Version: 3.5

Syntax

C#

public PackagePart AddLibrary(
	PackagePart rootDocument,
	string fileName,
	Uri partUri
)

C++

public:
PackagePart^ AddLibrary(
	PackagePart^ rootDocument, 
	String^ fileName, 
	Uri^ partUri
)

Parameters

 

rootDocument
Type: System.IO.Packaging.PackagePart
package part, containing the parent root document
fileName
Type: System.String
full name of the file which should be added
partUri
Type: System.Uri
package internal name of the part

Return Value

Type: PackagePart
added part

See Also

Reference

AutomationMLContainer Class
AddLibrary 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