IClob.Truncate(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Truncates the CLOB value that this Clob
designates to have a length of len
characters.
[Android.Runtime.Register("truncate", "(J)V", "GetTruncate_JHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Truncate(long len);
[<Android.Runtime.Register("truncate", "(J)V", "GetTruncate_JHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Truncate : int64 -> unit
Parameters
- len
- Int64
the length, in characters, to which the CLOB value
should be truncated
- Attributes
Exceptions
if an error occurs accessing the Clob.
Remarks
Truncates the CLOB value that this Clob designates to have a length of len characters.
<b>Note:</b> If the value specified for pos is greater then the length+1 of the CLOB value then the behavior is undefined. Some JDBC drivers may throw a SQLException while other drivers may support this operation.
Added in 1.4.
Java documentation for java.sql.Clob.truncate(long).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.