SPFileStream.CanWrite Property
Gets a Boolean value indicating whether the current stream supports writing.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides ReadOnly Property CanWrite As Boolean
Get
'Usage
Dim instance As SPFileStream
Dim value As Boolean
value = instance.CanWrite
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.