Version

IPackagePart Interface Members

The following tables list the members exposed by IPackagePart.

Public Properties
 NameDescription
 PropertyContentTypeGets the MIME type of the content stream.  
 PropertyPackageGets the parent Package of the part.  
 PropertyUriGets the URI of the part.  
Public Methods
 NameDescription
 MethodCreateRelationshipCreates a part-level relationship between this IPackagePart to a specified target IPackagePart or external resource.  
 MethodGetRelationshipReturns the relationship that has a specified IPackageRelationship.Id.  
 MethodGetRelationshipsReturns a collection of all the relationships that are owned by this part.  
 MethodGetStreamReturns the part content stream opened with a specified System.IO.FileMode and System.IO.FileAccess.  
See Also