By default, any underlying stream is closed by this method. To configure this behaviour, use a constructor overload with a leaveOpen
parameter. If this instance does not have an underlying stream, this method does nothing.
For the sake of efficiency, calling this method does not prevent future write calls - but if a later write ends up writing to a stream which has been disposed, that is likely to fail. It is recommend that you not call any other methods after this.
public Dispose ( ) : void | ||
리턴 | void |