SPFileStream.CanRead property

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

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

public override bool CanRead { get; }

Property value

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