IRowSet.SetNString 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
SetNString(Int32, String) |
Sets the designated paramter to the given |
SetNString(String, String) |
Sets the designated paramter to the given |
SetNString(Int32, String)
Sets the designated paramter to the given String
object.
[Android.Runtime.Register("setNString", "(ILjava/lang/String;)V", "GetSetNString_ILjava_lang_String_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNString (int parameterIndex, string? value);
[<Android.Runtime.Register("setNString", "(ILjava/lang/String;)V", "GetSetNString_ILjava_lang_String_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNString : int * string -> unit
Parameters
- parameterIndex
- Int32
of the first parameter is 1, the second is 2, ...
- value
- String
the parameter value
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated paramter to the given String
object. The driver converts this to a SQL NCHAR
or NVARCHAR
or LONGNVARCHAR
value (depending on the argument's size relative to the driver's limits on NVARCHAR
values) when it sends it to the database.
Added in 1.6.
Java documentation for javax.sql.RowSet.setNString(int, java.lang.String)
.
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
SetNString(String, String)
Sets the designated paramter to the given String
object.
[Android.Runtime.Register("setNString", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetNString_Ljava_lang_String_Ljava_lang_String_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNString (string? parameterName, string? value);
[<Android.Runtime.Register("setNString", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetNString_Ljava_lang_String_Ljava_lang_String_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNString : string * string -> unit
Parameters
- parameterName
- String
the name of the column to be set
- value
- String
the parameter value
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated paramter to the given String
object. The driver converts this to a SQL NCHAR
or NVARCHAR
or LONGNVARCHAR
Added in 1.6.
Java documentation for javax.sql.RowSet.setNString(java.lang.String, java.lang.String)
.
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.