The following tables list the members exposed by IPackagePart.
Name | Description | |
---|---|---|
ContentType | Gets the MIME type of the content stream. | |
Package | Gets the parent Package of the part. | |
Uri | Gets the URI of the part. |
Name | Description | |
---|---|---|
CreateRelationship | Creates a part-level relationship between this IPackagePart to a specified target IPackagePart or external resource. | |
GetRelationship | Returns the relationship that has a specified IPackageRelationship.Id. | |
GetRelationships | Returns a collection of all the relationships that are owned by this part. | |
GetStream | Returns the part content stream opened with a specified System.IO.FileMode and System.IO.FileAccess. |