Share via


Stream.CanWrite Property

When overridden in a derived class, this property gets a value that indicates whether the current Stream object supports writing.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual abstract bool CanWrite { get; }

Property Value

true if the current stream supports writing; otherwise, false.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Stream Class
Stream Members
System.IO Namespace