Gets the URI of the target resource of the relationship. Syntax
Public Methods
Public Methods
Creates a new uncompressed part with a given URI and content type. Syntax Parameters partUri The uniform resource identifier (URI) of the new part.contentType The content type of the data stream. Return Value The new created part.
Creates a package-level relationship to a part with a given URI, target mode, relationship type, and identifier (ID). Syntax Parameters targetUri The uniform resource identifier (URI) of the target part.targetMode Indicates if the target part is System.IO.Packaging.TargetMode.Internal or System.IO.Packaging.Target...
Returns the part with a given URI. Syntax Parameters partUri The uniform resource identifier (URI) of the part to return. Return Value The part with the specified partUri.
Returns a collection of all the parts in the package. Syntax Return Value A collection of all the System.IO.Packaging.PackagePart elements that are contained in the package.
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 package-level relationships. Syntax Return Value A collection of all the package-level relationships that are contained in the package.
Indicates whether a part with a given URI is in the package. Syntax Parameters partUri The System.Uri of the part to check for. Return Value true if a part with the specified partUri is in the package; otherwise, false.