Constructor PreservedPart
PreservedPart(string, string, IPackagePartDataSource?)
Initializes a preserved part.
public PreservedPart(string partUri, string contentType, IPackagePartDataSource? source)
Parameters
partUristringThe part URI.
contentTypestringThe part's content type.
sourceIPackagePartDataSourceThe data source the bytes stream from, or null.
Exceptions
- ArgumentNullException
partUriorcontentTypeis null.