This documentation is archived and is not being maintained.
ZipPackagePart Class
Visual Studio 2010
Represents a part that is stored in a ZipPackage.
Assembly: WindowsBase (in WindowsBase.dll)
The ZipPackagePart type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CompressionOption | Gets the compression option of the part content stream. (Inherited from PackagePart.) |
![]() | ContentType | Gets the MIME type of the content stream. (Inherited from PackagePart.) |
![]() | Package | Gets the parent Package of the part. (Inherited from PackagePart.) |
![]() | Uri | Gets the URI of the part. (Inherited from PackagePart.) |
| Name | Description | |
|---|---|---|
![]() | CreateRelationship(Uri, TargetMode, String) | Creates a part-level relationship between this PackagePart to a specified target PackagePart or external resource. (Inherited from PackagePart.) |
![]() | CreateRelationship(Uri, TargetMode, String, String) | Creates a part-level relationship between this PackagePart to a specified target PackagePart or external resource. (Inherited from PackagePart.) |
![]() | DeleteRelationship | Deletes a specified part-level PackageRelationship. (Inherited from PackagePart.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetContentTypeCore | When overridden in a derived class, returns the MIME type of the part content. (Inherited from PackagePart.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetRelationship | Returns the relationship that has a specified Id. (Inherited from PackagePart.) |
![]() | GetRelationships | Returns a collection of all the relationships that are owned by this part. (Inherited from PackagePart.) |
![]() | GetRelationshipsByType | Returns a collection of the relationships that match a specified RelationshipType. (Inherited from PackagePart.) |
![]() | GetStream() | Returns the part content data stream. (Inherited from PackagePart.) |
![]() | GetStream(FileMode) | Returns the content stream opened in a specified I/O FileMode. (Inherited from PackagePart.) |
![]() | GetStream(FileMode, FileAccess) | Returns the part content stream opened with a specified FileMode and FileAccess. (Inherited from PackagePart.) |
![]() | GetStreamCore | When overridden in a derived class, returns the part content stream opened with a specified FileMode and FileAccess. (Inherited from PackagePart.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RelationshipExists | Returns a value that indicates whether this part owns a relationship with a specified Id. (Inherited from PackagePart.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
ZipPackagePart provides the derived PackagePart implementation for parts that are stored in a ZipPackage.
Windows 7, Windows Vista SP1 or later, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
