ReusableMemoryStream::Cleanup Method (MemoryStream^)

Visual Studio 2015
 

Sets the stream length to 0.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

protected:
virtual bool Cleanup(
	MemoryStream^ value
) override

Parameters

value
Type: System.IO::MemoryStream^

The stream.

Return Value

Type: System::Boolean

True if cleanup was successful, otherwise false

Return to top
Show: