Compartilhar via


ISQLOutput.WriteShort(Int16) Method

Definition

Writes the next attribute to the stream as a Java short.

[Android.Runtime.Register("writeShort", "(S)V", "GetWriteShort_SHandler:Java.Sql.ISQLOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteShort (short x);
[<Android.Runtime.Register("writeShort", "(S)V", "GetWriteShort_SHandler:Java.Sql.ISQLOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WriteShort : int16 -> unit

Parameters

x
Int16

the value to pass to the database

Attributes

Exceptions

if a database error occurs.

Remarks

Writes the next attribute to the stream as a Java short. Writes the next attribute to the stream as a String in the Java programming language.

Added in 1.2.

Java documentation for java.sql.SQLOutput.writeShort(short).

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