IsolatedStorageFileStream::CanWrite Property
.NET Framework (current version)
Gets a Boolean value indicating whether you can write to the file.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::Booleantrue if an IsolatedStorageFileStream object can be written; otherwise, false.
Use this property to determine whether the IsolatedStorageFileStream object can be written.
The following code example demonstrates how you could use the CanWrite property, as a check to see whether a stream can be read before calling the Write or BeginWrite methods. For the complete context of this example, see the IsolatedStorageFileStream overview.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: