ISQLInput.ReadNString 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.
Reads the next attribute in the stream and returns it as a String
in the Java programming language.
[Android.Runtime.Register("readNString", "()Ljava/lang/String;", "GetReadNStringHandler:Java.Sql.ISQLInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? ReadNString ();
[<Android.Runtime.Register("readNString", "()Ljava/lang/String;", "GetReadNStringHandler:Java.Sql.ISQLInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ReadNString : unit -> string
Returns
the attribute; if the value is SQL NULL
, returns null
- Attributes
Exceptions
if there is a database error.
Remarks
Reads the next attribute in the stream and returns it as a String
in the Java programming language. It is intended for use when accessing NCHAR
,NVARCHAR
and LONGNVARCHAR
columns.
Added in 1.6.
Java documentation for java.sql.SQLInput.readNString()
.
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.