ICallableStatement.SetNString(String, String) Method

Definition

Sets the designated parameter to the given String object.

[Android.Runtime.Register("setNString", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetNString_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, 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:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNString : string * string -> unit

Parameters

parameterName
String

the name of the parameter to be set

value
String

the parameter value

Attributes

Exceptions

if a database error occurs

Remarks

Sets the designated parameter to the given String object. The driver converts this to a SQL NCHAR or NVARCHAR or LONGNVARCHAR

Added in 1.6.

Java documentation for java.sql.CallableStatement.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.

Applies to