System.Web.HttpResponseStream.Clear C# (CSharp) Method

Clear() public method

public Clear ( ) : void
return void
		public void Clear ()
		{
			//
			// IMPORTANT: you must dispose *AFTER* using all the buckets Byte chunks might be
			// split across two buckets if there is a file between the data.
			//
			ReleaseResources (false);
			total = 0;
		}
		

Usage Example

Example #1
0
 public void ClearContent()
 {
     output_stream.Clear();
     content_length = -1;
 }