Send feedback on this topic.
Teradata.Client.Provider
Read(Int32) Method



Teradata.Client.Provider Namespace > TdClob Class > Read Method : Read(Int32) Method
Specifies the number of bytes to read from the CLOB.
Returns a character array and advances the current position.
Syntax
'Declaration
 
Public Overloads Function Read( _
   ByVal count As Integer _
) As Char()
'Usage
 
Dim instance As TdClob
Dim count As Integer
Dim value() As Char
 
value = instance.Read(count)
public char[] Read( 
   int count
)
public:
array<char>^ Read( 
   int count
) 

Parameters

count
Specifies the number of bytes to read from the CLOB.

Return Value

Returns a character array having a maximum of count characters containing the data read from the CLOB field.
Exceptions
ExceptionDescription
The TdClob is null, or the TdConnection is closed.
The TdClob is closed / disposed.
The Advanced SQL Engine returned an error, or the .NET Data Provider for Teradata detected an error.
Remarks
The .NET Data Provider for Teradata reads the CLOB field into a character array. The character array size is equal to or less than count. If the character array size is less count, then the end of the CLOB is reached.
Requirements

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

See Also

Reference

TdClob Class
TdClob Members
Overload List