Udostępnij za pośrednictwem


IRowSet.SetRef(Int32, IRef) Method

Definition

Sets the designated parameter in this RowSet object's command with the given Ref value.

[Android.Runtime.Register("setRef", "(ILjava/sql/Ref;)V", "GetSetRef_ILjava_sql_Ref_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetRef (int i, Java.Sql.IRef? x);
[<Android.Runtime.Register("setRef", "(ILjava/sql/Ref;)V", "GetSetRef_ILjava_sql_Ref_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetRef : int * Java.Sql.IRef -> unit

Parameters

i
Int32

the first parameter is 1, the second is 2, ...

x
IRef

an object representing data of an SQL REF type

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter in this RowSet object's command with the given Ref value. The driver will convert this to the appropriate REF(&lt;structured-type&gt;) value.

Java documentation for javax.sql.RowSet.setRef(int, java.sql.Ref).

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

See also