OpenXmlPartContainer Members
Include Protected Members
Include Inherited Members
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Defines a part container base class for OpenXmlPackage and OpenXmlPart.
The OpenXmlPartContainer type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the OpenXmlPartContainer class.
Top
Properties
Name
Description
Enumerates all external relationships.
Enumerates all parts that are relationship targets of this part.
Top
Methods
Name
Description
Adds an object to the annotation list of this PartContainer.
AddExtendedPart(String, String, String)
Adds an extended part as an application specific part.
AddExtendedPart(String, String, String, String)
Adds an extended part as an application specific part.
AddExternalRelationship(String, Uri)
Adds an external relationship.
AddExternalRelationship(String, Uri, String)
Adds an external relationship.
Adds a new part of type T.
Adds a new part of type T.
Adds a new part of type T.
Adds the part to the document. Must use the returned part to open the part added to the document.
Adds the part to the document with a given relationship identifier (ID). Must use the returned part to operate the part added to the document.
Gets the first annotation object of the specified type from this PartContainer.
Gets the first annotation object of the specified type from this PartContainer.
Gets a collection of annotations of the specified type for this PartContainer.
Gets a collection of annotations of the specified type for this PartContainer.
Deletes the external relationship.
Deletes the specified child part from this part.
Deletes a specified part in the package root layer.
Deletes all the parts in the passed-in collection.
(Inherited from Object.)
(Inherited from Object.)
(Inherited from Object.)
Gets the relationship ID of the part.
Gets the child part through the relationship ID.
Gets the count of all parts in type T.
Enumerates all the child parts of the specified type "T" of this part.
GetPartsOfType<T>(ICollection<T>)
Gets all the child parts of the specified type "T" into "partCollection" of this part.
(Inherited from Object.)
(Inherited from Object.)
Removes the annotations of the specified type from this PartContainer.
Removes the annotations of the specified type from this PartContainer.
Tests whether the object is already disposed.
(Inherited from Object.)
Top