SPFileStream.CanWrite property

Gets a Boolean value indicating whether the current stream supports writing.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public override bool CanWrite { get; }

Property value

Type: System.Boolean
true if the stream supports writing; false if the stream is closed or was opened with read-only access.
Show: