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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdStream Class
TdStream Members