IPackagePart Interface 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An abstraction for PackagePart that is easier to override.
public interface IPackageParttype IPackagePart = interfacePublic Interface IPackagePartProperties
| ContentType | Gets the MIME type of the content stream. | 
| Package | Gets a reference to the containing package. | 
| Relationships | Gets a collection of relationships. | 
| Uri | Gets the URI for the current part. | 
Methods
| GetStream(FileMode, FileAccess) | Gets the data stream for the part. |