ZipPackagePart Methods

The ZipPackagePart type exposes the following members.

  Name Description
Public method CreateRelationship(Uri, TargetMode, String) Creates a part-level relationship between this PackagePart to a specified target PackagePart or external resource. (Inherited from PackagePart.)
Public method CreateRelationship(Uri, TargetMode, String, String) Creates a part-level relationship between this PackagePart to a specified target PackagePart or external resource. (Inherited from PackagePart.)
Public method DeleteRelationship Deletes a specified part-level PackageRelationship. (Inherited from PackagePart.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetRelationship Returns the relationship that has a specified Id. (Inherited from PackagePart.)
Public method GetRelationships Returns a collection of all the relationships that are owned by this part. (Inherited from PackagePart.)
Public method GetRelationshipsByType Returns a collection of the relationships that match a specified RelationshipType. (Inherited from PackagePart.)
Public method GetStream() Returns the part content data stream. (Inherited from PackagePart.)
Public method GetStream(FileMode) Returns the content stream opened in a specified I/O FileMode. (Inherited from PackagePart.)
Public method GetStream(FileMode, FileAccess) Returns the part content stream opened with a specified FileMode and FileAccess. (Inherited from PackagePart.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method RelationshipExists Returns a value that indicates whether this part owns a relationship with a specified Id. (Inherited from PackagePart.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft