Public Methods
Opens an IPackage with a given IO stream and file mode. Syntax Parameters stream The IO stream on which to open the IPackage.packageMode The file mode in which to open the IPackage. Return Value The opened IPackage.
Provides a base class for parts stored in a System.IO.Packaging.Package. This class is abstract. Syntax
Public Properties Public Methods
Public Methods
Public Properties
Gets the MIME type of the content stream. Syntax
Creates a part-level relationship between this IPackagePart to a specified target IPackagePart or external resource. Syntax Parameters targetUri The URI of the target part.targetMode One of the enumeration values. For example, RelationshipTargetMode.Internal if the target part is inside the IPackage; or Relationsh...
Returns the relationship that has a specified IPackageRelationship.Id. Syntax Parameters id The IPackageRelationship.Id of the relationship to return. Return Value The relationship that matches the specified id.
Returns a collection of all the relationships that are owned by this part. Syntax Return Value A collection of all the relationships that are owned by the part.