ICallableStatement.GetNCharacterStream 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
GetNCharacterStream(Int32) |
Retrieves the value of the designated parameter as a
|
GetNCharacterStream(String) |
Retrieves the value of the designated parameter as a
|
GetNCharacterStream(Int32)
Retrieves the value of the designated parameter as a
java.io.Reader
object in the Java programming language.
[Android.Runtime.Register("getNCharacterStream", "(I)Ljava/io/Reader;", "GetGetNCharacterStream_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.IO.Reader? GetNCharacterStream (int parameterIndex);
[<Android.Runtime.Register("getNCharacterStream", "(I)Ljava/io/Reader;", "GetGetNCharacterStream_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetNCharacterStream : int -> Java.IO.Reader
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2, ...
Returns
a java.io.Reader
object that contains the parameter
value; if the value is SQL NULL
, the value returned is
null
in the Java programming language.
- Attributes
Exceptions
if a database error occurs.
Remarks
Retrieves the value of the designated parameter as a java.io.Reader
object in the Java programming language. It is intended for use when accessing NCHAR
,NVARCHAR
and LONGNVARCHAR
parameters.
Added in 1.6.
Java documentation for java.sql.CallableStatement.getNCharacterStream(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
GetNCharacterStream(String)
Retrieves the value of the designated parameter as a
java.io.Reader
object in the Java programming language.
[Android.Runtime.Register("getNCharacterStream", "(Ljava/lang/String;)Ljava/io/Reader;", "GetGetNCharacterStream_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.IO.Reader? GetNCharacterStream (string? parameterName);
[<Android.Runtime.Register("getNCharacterStream", "(Ljava/lang/String;)Ljava/io/Reader;", "GetGetNCharacterStream_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetNCharacterStream : string -> Java.IO.Reader
Parameters
- parameterName
- String
the name of the parameter
Returns
a java.io.Reader
object that contains the parameter
value; if the value is SQL NULL
, the value returned is
null
in the Java programming language
- Attributes
Exceptions
if a database error occurs
Remarks
Retrieves the value of the designated parameter as a java.io.Reader
object in the Java programming language. It is intended for use when accessing NCHAR
,NVARCHAR
and LONGNVARCHAR
parameters.
Added in 1.6.
Java documentation for java.sql.CallableStatement.getNCharacterStream(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.