共用方式為


ReusableMemoryStream.Cleanup(MemoryStream) Method

Definition

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

Applies to