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



Teradata.Client.Provider Namespace > TdStream Class : CanWrite Property
Gets a value indicating whether the TdStream object supports writing.
Syntax
'Declaration
 
Public Overrides NotOverridable ReadOnly Property CanWrite As Boolean
'Usage
 
Dim instance As TdStream
Dim value As Boolean
 
value = instance.CanWrite
public override bool CanWrite {get;}
public:
property bool CanWrite {
   bool get() override;
}

Property Value

It always returns false.
Remarks
TdStream is a read-only stream. Therefore, CanWrite property always returns false. A Call to IO.Stream.BeginWrite, IO.Stream.EndWrite, TdStream.SetLength, TdStream.Write or TdStream.WriteByte throws a NotSupportedException.
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