Version

Search Results

Open Method (IPackageFactory)

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.

IPackagePart Interface

Provides a base class for parts stored in a System.IO.Packaging.Package. This class is abstract. Syntax

IPackagePart Interface Members

Public Properties Public Methods

ContentType Property

Gets the MIME type of the content stream. Syntax

CreateRelationship Method (IPackagePart)

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...

GetRelationship Method (IPackagePart)

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.

GetRelationships Method (IPackagePart)

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.