C# MemoryStream CanTimeout
Description
MemoryStream CanTimeout
Gets a value that determines
whether the current stream can time out.
Syntax
MemoryStream.CanTimeout
has the following syntax.
[ComVisibleAttribute(false)]
public virtual bool CanTimeout { get; }
Example
using System;/* ww w .ja va 2 s . co m*/
using System.IO;
public class MainClass{
public static void Main(String[] argv){
MemoryStream ms = new MemoryStream();
System.Console.WriteLine(ms.CanTimeout);
}
}
The code above generates the following result.