Close Method
Closes the component writing stream.
Syntax
[VB.NET] Public Sub Close()
[C#] public void Close();
Remarks
This method will close any open XML elements, and then close the OutputFile or output stream if necessary.
NOTE: This method has a corresponding asynchronous version (CloseAsync) for use in the Xamarin environment.