forked from OfficeDev/open-xml-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd191aa
commit ea176fd
Showing
4 changed files
with
182 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The `using` statement provides a recommended | ||
alternative to the typical .Open, .Save, .Close sequence. It ensures | ||
that the <xref:System.IDisposable.Dispose> method (internal method | ||
With v3.0.0+ the <xref:DocumentFormat.OpenXml.Packaging.OpenXmlPackage.Close> method has been removed and | ||
the `using` statement provides the recommended replacement for the deprecated `.Create`, `.Save`, `.Close` sequence. | ||
It ensures that the <xref:System.IDisposable.Dispose> method (internal method | ||
used by the Open XML SDK to clean up resources) is automatically called | ||
when the closing brace is reached. The block that follows the `using` statement establishes a scope for the | ||
object that is created or named in the `using` statement, in this case |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.