PackageExtensions.GetPackage(OpenXmlPackage) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current IPackage for the package
.
C#
public static DocumentFormat.OpenXml.Packaging.IPackage GetPackage (this DocumentFormat.OpenXml.Packaging.OpenXmlPackage package);
static member GetPackage : DocumentFormat.OpenXml.Packaging.OpenXmlPackage -> DocumentFormat.OpenXml.Packaging.IPackage
<Extension()>
Public Function GetPackage (package As OpenXmlPackage) As IPackage
- package
- OpenXmlPackage
Current package.
The underlying IPackage.
If package
is null
.
Product | Versions |
---|---|
DocumentFormat.OpenXml | 3.0.0, 3.0.1 |