Initializes a new instance of the PackagePart class with a specified parent Package and part URI.
The parent Package of the part.
The URI of the part, relative to the parent Package root.
package or partUri is null.
partUri must be valid PackagePart URI formed in accordance with the RFC 3986 Uniform Resource Identifier (URI) Generic Syntax specification and the Open Packaging Conventions specification.
Use this constructor when the ContentType of the part is not immediately known and will be set later when CreatePart is called.
By default, the CompressionOption property of the part is initialized to NotCompressed.
CreatePartUriGetStreamPackagePart OverloadPackagePart ClassSystem.IO.Packaging NamespacePack URIs in WPFOpen Packaging Conventions Specification