共用方式為


ISQLOutput.WriteLong(Int64) Method

Definition

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

[Android.Runtime.Register("writeLong", "(J)V", "GetWriteLong_JHandler:Java.Sql.ISQLOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteLong (long x);
[<Android.Runtime.Register("writeLong", "(J)V", "GetWriteLong_JHandler:Java.Sql.ISQLOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WriteLong : int64 -> unit

Parameters

x
Int64

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 long. 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.writeLong(long).

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