Send feedback on this topic.
Teradata.Client.Provider
CanRead Property



Teradata.Client.Provider Namespace > TdStream Class : CanRead Property
Gets a value indicating whether data can be read from the TdStream.
Syntax
'Declaration
 
Public Overrides NotOverridable ReadOnly Property CanRead As Boolean
'Usage
 
Dim instance As TdStream
Dim value As Boolean
 
value = instance.CanRead
public override bool CanRead {get;}
public:
property bool CanRead {
   bool get() override;
}

Property Value

true if TdStream is open and false otherwise.
Remarks
TdStream is a read-only stream. Therefore CanRead property returns true while the TdStream object is open. It returns false after a call to TdStream.Close method.
Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdStream Class
TdStream Members