ReusableMemoryStream.Cleanup(MemoryStream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the stream length to 0.
protected:
override bool Cleanup(System::IO::MemoryStream ^ value);
protected override bool Cleanup (System.IO.MemoryStream value);
override this.Cleanup : System.IO.MemoryStream -> bool
Protected Overrides Function Cleanup (value As MemoryStream) As Boolean
Parameters
- value
- MemoryStream
The stream.
Returns
True if cleanup was successful, otherwise false