IClob.Position 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.
Overloads
| Position(IClob, Int64) |
Retrieves the character position at which the specified
|
| Position(String, Int64) |
Retrieves the character position at which the specified substring
|
Position(IClob, Int64)
Retrieves the character position at which the specified
Clob object searchstr appears in this
Clob object.
[Android.Runtime.Register("position", "(Ljava/sql/Clob;J)J", "GetPosition_Ljava_sql_Clob_JHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long Position(Java.Sql.IClob? searchstr, long start);
[<Android.Runtime.Register("position", "(Ljava/sql/Clob;J)J", "GetPosition_Ljava_sql_Clob_JHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Position : Java.Sql.IClob * int64 -> int64
Parameters
- searchstr
- IClob
the Clob object for which to search
- start
- Int64
the position at which to begin searching; the first position is 1
Returns
the position at which the Clob object appears
or -1 if it is not present; the first position is 1
- Attributes
Exceptions
if an error occurs accessing the Clob.
Remarks
Retrieves the character position at which the specified Clob object searchstr appears in this Clob object. The search begins at position start.
Added in 1.2.
Java documentation for java.sql.Clob.position(java.sql.Clob, 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.
Applies to
Position(String, Int64)
Retrieves the character position at which the specified substring
searchstr appears in the SQL CLOB value
represented by this Clob object.
[Android.Runtime.Register("position", "(Ljava/lang/String;J)J", "GetPosition_Ljava_lang_String_JHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long Position(string? searchstr, long start);
[<Android.Runtime.Register("position", "(Ljava/lang/String;J)J", "GetPosition_Ljava_lang_String_JHandler:Java.Sql.IClobInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Position : string * int64 -> int64
Parameters
- searchstr
- String
the substring for which to search
- start
- Int64
the position at which to begin searching; the first position is 1
Returns
the position at which the substring appears or -1 if it is not present; the first position is 1
- Attributes
Exceptions
if an error occurs accessing the Clob.
Remarks
Retrieves the character position at which the specified substring searchstr appears in the SQL CLOB value represented by this Clob object. The search begins at position start.
Added in 1.2.
Java documentation for java.sql.Clob.position(java.lang.String, 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.