Export (0) Print
Expand All

PackagePart Methods

The PackagePart 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.
Public method CreateRelationship(Uri, TargetMode, String, String) Creates a part-level relationship between this PackagePart to a specified target PackagePart or external resource.
Public method DeleteRelationship Deletes a specified part-level PackageRelationship.
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.
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.
Public method GetRelationships Returns a collection of all the relationships that are owned by this part.
Public method GetRelationshipsByType Returns a collection of the relationships that match a specified RelationshipType.
Public method GetStream() Returns the part content data stream.
Public method GetStream(FileMode) Returns the content stream opened in a specified I/O FileMode.
Public method GetStream(FileMode, FileAccess) Returns the part content stream opened with a specified FileMode and FileAccess.
Protected method GetStreamCore When overridden in a derived class, returns the part content stream opened with a specified FileMode and FileAccess.
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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft