Share via


SPFileStream.CanRead property

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

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

Syntax

'Declaration
Public Overrides ReadOnly Property CanRead As Boolean
    Get
'Usage
Dim instance As SPFileStream
Dim value As Boolean

value = instance.CanRead
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.

See also

Reference

SPFileStream class

SPFileStream members

Microsoft.SharePoint namespace