This documentation is archived and is not being maintained.

ZipPackagePart Methods

The ZipPackagePart type exposes the following members.

  NameDescription
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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetContentTypeCore When overridden in a derived class, returns the MIME type of the part content. (Inherited from PackagePart.)
Public method GetHashCode Serves as a hash function for a particular type. (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.)
Protected method GetStreamCore When overridden in a derived class, 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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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
Show: