Consider removing OpenXmlPackage.Close()
See original GitHub issueThere are two APIs that do the same thing: Close()
and Dispose()
. There is no need to have Close()
as it is better to use the dispose pattern. Let’s take v3.0 as a chance to remove this API and just use Dispose()
.
- Remove
Close()
usage onmain
- Obsolete
Close()
onrelease/2.20.0
Issue Analytics
- State:
- Created 8 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
[Port to v2.20] Consider removing OpenXmlPackage.Close()
Use saved searches to filter your results more quickly · [Port to v2.20] Consider removing OpenXmlPackage.Close() #2012 · Summary ...
Read more >Remove a document part from a package (Open XML SDK)
This topic shows how to use the classes in the Open XML SDK 2.5 for Office to remove a document part (file) from...
Read more >Close OpenXML Document Without Saving
The document has an AutoSave property, which is set to True by default. The Open method can take an OpenSettings object, which can...
Read more >OpenXmlPackage.Close Method
Saves and closes the OpenXml package and all underlying part streams.
Read more >The easy way to OpenXML - ClosedXML
OpenXml.OpenXmlPartRootElement.Save() 場所 DocumentFormat.OpenXml. ... I try to delete these all explicitly before deleting the actual sheet, but I think ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tomjebo can this be closed?
PR #1373 removes Close() for main