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

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdStream Class
TdStream Members