Aracılığıyla paylaş


IClob.GetSubString(Int64, Int32) Method

Definition

Retrieves a copy of the specified substring in the CLOB value designated by this Clob object.

[Android.Runtime.Register("getSubString", "(JI)Ljava/lang/String;", "GetGetSubString_JIHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetSubString (long pos, int length);
[<Android.Runtime.Register("getSubString", "(JI)Ljava/lang/String;", "GetGetSubString_JIHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetSubString : int64 * int -> string

Parameters

pos
Int64

the first character of the substring to be extracted. The first character is at position 1.

length
Int32

the number of consecutive characters to be copied; the value for length must be 0 or greater

Returns

a String that is the specified substring in the CLOB value designated by this Clob object

Attributes

Exceptions

if an error occurs accessing the Clob.

Remarks

Retrieves a copy of the specified substring in the CLOB value designated by this Clob object. The substring begins at position pos and has up to length consecutive characters.

Added in 1.2.

Java documentation for java.sql.Clob.getSubString(long, int).

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.

Applies to