This topic has not yet been rated - Rate this topic

ZipPackage Methods

The ZipPackage type exposes the following members.

  NameDescription
Public method Close Saves and closes the package plus all underlying part streams. (Inherited from Package.)
Public method CreatePart Overloaded. Creates a new package part.
Protected method CreatePartCore When overridden in a derived class, creates a new part in the package. (Inherited from Package.)
Public method CreateRelationship Overloaded. Creates a package-level relationship to a given part.
Public method DeletePart Deletes a part with a given URI from the package. (Inherited from Package.)
Protected method DeletePartCore When overridden in a derived class, deletes a part with a given URI. (Inherited from Package.)
Public method DeleteRelationship Deletes a package-level relationship. (Inherited from Package.)
Protected method Dispose Flushes and saves the content of all parts and relationships, closes the package, and releases all resources. (Inherited from Package.)
Public method Equals 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.)
Public method Flush Saves the contents of all parts and relationships that are contained in the package. (Inherited from Package.)
Protected method FlushCore When overridden in a derived class, saves the content of all parts and relationships to the derived class store. (Inherited from Package.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPart Returns the part with a given URI. (Inherited from Package.)
Protected method GetPartCore When overridden in a derived class, returns the part addressed by a given URI. (Inherited from Package.)
Public method GetParts Returns a collection of all the parts in the package. (Inherited from Package.)
Protected method GetPartsCore When overridden in a derived class, returns an array of all the parts in the package. (Inherited from Package.)
Public method GetRelationship Returns the package-level relationship with a given identifier. (Inherited from Package.)
Public method GetRelationships Returns a collection of all the package-level relationships. (Inherited from Package.)
Public method GetRelationshipsByType Returns a collection of all the package-level relationships that match a given RelationshipType. (Inherited from Package.)
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 PartExists Indicates whether a part with a given URI is in the package. (Inherited from Package.)
Public method RelationshipExists Indicates whether a package-level relationship with a given ID is contained in the package. (Inherited from Package.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended for application use. Use the type-safe Dispose method instead. (Inherited from Package.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.