dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLob Class / ToString Method
Example

In This Topic
    ToString Method (OracleLob)
    In This Topic
    Converts the current OracleLob object to a System.String.
    Syntax
    'Declaration
     
    Public Overrides Function ToString() As String
    public override string ToString()

    Return Value

    A System.String with the same value as the OracleLob.
    Remarks
    If a Value is actually a sequence of bytes that represent a string, you can use ToString method to obtain that string. The default encoding is used.
    Example
    The example shows a code fragment that gets a OracleLob field from a OracleReader and writes it to the console.
    ...
    OracleLob myLob = myReader.GetOracleLob(myReader.GetOrdinal("TextColumnName"));
    Console.WriteLine(myLob.ToString());
    ...
    ...
    Dim Lob As OracleLob = myReader.GetOracleLob(myReader.GetOrdinal("TextColumnName"))
    Console.WriteLine(myLob.ToString())
    ...
    See Also