Compartilhar via


PackageExtensions.GetPackage(OpenXmlPackage) Método

Definição

Obtém o atual IPackage para o package.

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

Parâmetros

package
OpenXmlPackage

Pacote atual.

Retornos

O subjacente IPackage.

Exceções

Se package for null.

Aplica-se a