Click or drag to resize

AutomationMLContainer Methods

The AutomationMLContainer type exposes the following members.

Methods
 NameDescription
Public methodAddAnyContent(PackagePart, Stream, Uri, String, Boolean) Adds any content from the specified stream resource to the package creating relationships to the package and to the part, containing the root document using the relationship type AnyContent.
Public methodAddAnyContent(PackagePart, String, Uri, String, Boolean) Adds any content to the package creating relationships to the package and to the part, containing the root document using the relationship type AnyContent.
Public methodAddCAEXSchema(Stream, Uri) Adds a CAEX schema part retrieved from a stream resource to the package and creates a package - part relationship to the package using the relationship type CAEXSchema.
Public methodAddCAEXSchema(String, Uri) Adds a CAEX schema file to the package and creates a package - part relationship to the package using the relationship type CAEXSchema
Public methodAddCollada(PackagePart, Stream, Uri, Boolean) Adds a COLLADA part read from the specified stream resource to the package and creates relationships to the package and to the root document using the Collada.
Public methodAddCollada(PackagePart, String, Uri, Boolean) Adds a COLLADA file to the package and creates relationships to the package and to the root document using the Collada.
Public methodAddColladaSchema(Stream, Uri) Adds a COLLADA schema part from the stream resource to the package and creates a package - part relationship to the package using ColladaSchema.
Public methodAddColladaSchema(String, Uri) Adds a COLLADA schema file to the package and creates a package - part relationship to the package using ColladaSchema.
Public methodAddLibrary(Stream, Uri) Adds a library stream to the package and creates a package - part relationship of type Library.
Public methodAddLibrary(String, Uri) Adds a library file to the package and creates a package - part relationship of type Library.
Public methodAddLibrary(PackagePart, Stream, Uri, Boolean) Adds a library from a stream resource to the package and creates relationships to the package and to the part containing the root document using the relationship type Library.
Public methodAddLibrary(PackagePart, String, Uri, Boolean) Adds a library file to the package and creates relationships to the package and to the package containing the root document using the Library.
Public methodAddPLCopenXml(PackagePart, Stream, Uri, Boolean) 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.
Public methodAddPLCopenXml(PackagePart, String, Uri, Boolean) 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.
Public methodAddPLCopenXmlSchema(Stream, Uri) Adds a PLCopenXml schema part from a stream resource to the package and creates a package - part relationship of type PLCopenXmlSchema.
Public methodAddPLCopenXmlSchema(String, Uri) Adds a PLCopenXml schema file to the package and creates a package - part relationship of type PLCopenXmlSchema to the package.
Public methodAddRoot(Stream, Uri) Adds a root AML file from a stream resource to the package and creates a package - part relationship of type Root.
Public methodAddRoot(String, Uri) Adds a root AML file to the package and creates a package - part relationship of type Root.
Public methodCheckRelatedParts Returns an enumeration of the related parts for the specified part and relationship type.
Public methodClose Saves and closes the package and all part streams.
Public methodDispose Performs application-defined tasks associated with the release, return or resetting of unmanaged resources.
Public methodExtract(DirectoryInfo) Extracts all parts in the package to the specified directory
Public methodExtract(DirectoryInfo, PackagePart) Extracts the specified part in the package to the specified directory.
Public methodExtractAllFiles Extracts all parts in the package to the specified directory
Public methodFlush Saves the contents of all parts and relationships, contained in the package.
Public methodGetPart Returns the part with the given URI.
Public methodGetParts Returns an enumeration of all parts inside the package.
Public methodGetPartsByRelationShipType Returns an enumeration of all parts with the given relationship type from the package.
Public methodGetRelatedPartByUri Gets the related part by URI.
Public methodGetRelatedParts(PackagePart) Returns an enumeration of all related parts for the given part.
Public methodGetRelatedParts(PackagePart, AutomationMLContainerRelationshipType) Returns an enumeration of the related parts for the specified part and relationship type.
Public methodGetRelationShips Returns an enumeration of all contained relationships of this instance.
Public methodGetRelationShipsByType Returns an enumeration of all relationships with the given relationship type.
Public methodPartExists Determines, if a part with the specified part URI exists.
Public methodRelationShipExists Determines, if the specified relationship type exists.
Public methodRelinkPart(Uri, Uri)Obsolete.
Changes the Uri of a package part. The part is removed and readded with the provided newPartUri. All relationships of the part are updated.
Public methodRelinkPart(PackagePart, PackagePart, Uri) Changes the Uri of a package part. The part is removed and readded with the provided newPartUri. All relationships of the part are updated. If a related Part is defined, with the provided part as a target, the relations are redefined.
Public methodRootDocumentPath Gets the file path to the first root AML document when the container is already extracted. Extract(DirectoryInfo) If the container is created from a stream source or no root document is found, the return value is string.Empty.
Public methodRootDocumentStream Gets the stream of the first root AML document. If no root document is found, the return value is null.
Public methodSave Saves the package and all part streams, the package is still open.
Top
See Also