Gets a value indicating whether the current stream supports reading.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public override bool CanRead { get; }
Visual Basic
Public Overrides ReadOnly Property CanRead As Boolean
	Get
Visual C++
public:
virtual property bool CanRead {
	bool get () override;
}

Property Value

Type: Boolean

Remarks

Returns 'True' if stream is opened with either StreamMode.Read or StreamMode.ReadWithoutLock.

See Also