Skip to main content
FileRandomAccessStream.CanRead | canRead property

Applies to Windows and Windows Phone

Gets a value that indicates whether the stream can be read from.

Syntax


var canRead = fileRandomAccessStream.canRead;

public bool CanRead { get; }

Public ReadOnly Property CanRead As Boolean

public:
property bool CanRead { 
   bool get();
}

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the stream can be read from. Otherwise, false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

FileRandomAccessStream