This documentation is archived and is not being maintained.
Provides a base class for parts stored in a Package. This class is abstract.
The following tables list the members exposed by the PackagePart type.
(see also Protected Methods )
|CreateRelationship||Overloaded. Creates a part-level relationship between this PackagePart to a specified target PackagePart or external resource.|
|DeleteRelationship||Deletes a specified part-level PackageRelationship.|
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetRelationship||Returns the relationship that has a specified Id.|
|GetRelationships||Returns a collection of all the relationships that are owned by this part.|
|GetRelationshipsByType||Returns a collection of the relationships that match a specified RelationshipType.|
|GetStream||Overloaded. Returns the part content data stream.|
|GetType||Gets the Type of the current instance. (inherited from Object)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|RelationshipExists||Returns a value that indicates whether this part owns a relationship with a specified Id.|
|ToString||Returns a String that represents the current Object. (inherited from Object)|
|Finalize||Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)|
|GetContentTypeCore||When overridden in a derived class, returns the MIME type of the part content.|
|GetStreamCore||When overridden in a derived class, returns the part content stream opened with a specified FileMode and FileAccess.|
|MemberwiseClone||Creates a shallow copy of the current Object. (inherited from Object)|