CloneableExtensions Class
Definition
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.
Extensions to enable package cloning.
public static class CloneableExtensions
type CloneableExtensions = class
Public Module CloneableExtensions
- Inheritance
-
CloneableExtensions
Methods
Clone<TPackage>(TPackage) |
Creates an editable clone of this OpenXml package, opened on a MemoryStream with expandable capacity and using default OpenSettings. |
Clone<TPackage>(TPackage, Package) |
Creates a clone of this OpenXml package, opened on the specified instance of Package. The clone will be opened with the same OpenSettings as this OpenXml package. |
Clone<TPackage>(TPackage, Package, OpenSettings) |
Creates a clone of this OpenXml package, opened on the specified instance of Package. |
Clone<TPackage>(TPackage, Stream) |
Creates a clone of this OpenXml package, opened on the given stream. The cloned OpenXml package is opened with the same settings, i.e., FileOpenAccess and OpenSettings, as this OpenXml package. |
Clone<TPackage>(TPackage, Stream, Boolean) |
Creates a clone of this OpenXml package, opened on the given stream. The cloned OpenXml package is opened with the same OpenSettings as this OpenXml package. |
Clone<TPackage>(TPackage, Stream, Boolean, OpenSettings) |
Creates a clone of this OpenXml package, opened on the given stream. |
Clone<TPackage>(TPackage, String) |
Creates a clone of this OpenXml package opened from the given file (which will be created by cloning this OpenXml package). The cloned OpenXml package is opened with the same settings, i.e., FileOpenAccess and OpenSettings, as this OpenXml package. |
Clone<TPackage>(TPackage, String, Boolean) |
Creates a clone of this OpenXml package opened from the given file (which will be created by cloning this OpenXml package). The cloned OpenXml package is opened with the same OpenSettings as this OpenXml package. |
Clone<TPackage>(TPackage, String, Boolean, OpenSettings) |
Creates a clone of this OpenXml package opened from the given file (which will be created by cloning this OpenXml package). |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應