Closes the current System.IO.MemoryStream instance.
The stream will not support reading or writing after this method is invoked. Following a call to MemoryStream.Close , operations on the stream can raise an exception.
The buffer of a closed System.IO.MemoryStream is still available, and the MemoryStream.ToArray and MemoryStream.GetBuffer methods can be called successfully.
Note: This method overrides Stream.Close .
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0