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)
Available in Sandboxed Solutions: No

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