The following tables list the members exposed by Package.
Name | Description | |
---|---|---|
ContentTypesXmlDocument | Gets the document specifying the content types in the package. | |
Parts | Returns a collection of all parts in the package, keyed by their path. | |
Relationships | Returns a collection of all the relationships that are owned by this package. | |
RelationsXmlDocument | Gets or sets the document representing the relationships for this package. |
Name | Description | |
---|---|---|
ContentTypesZipEntry | Gets the System.IO.Compression.ZipArchiveEntry containing the content types for the package. | |
PackageMode | Gets or sets the System.IO.FileMode used to open the package. | |
RelationsZipEntry | Gets the System.IO.Compression.ZipArchiveEntry containing the relationships for the package. | |
ZipFile | Gets or sets the ZipFile the package is representing. |
Name | Description | |
---|---|---|
CreatePart | Creates a new uncompressed part with a given URI and content type. | |
CreateRelationship | Creates a package-level relationship to a part with a given URI, target mode, relationship type, and identifier (ID). | |
Dispose | Disposes the package. | |
GetPart | Returns the part with a given URI. | |
GetParts | Returns a collection of all the parts in the package. | |
GetRelationship | Returns the relationship that has a specified IPackageRelationship.Id. | |
GetRelationships | Returns a collection of all the package-level relationships. | |
PartExists | Indicates whether a part with a given URI is in the package. |