Udostępnij za pośrednictwem


IPreparedStatement.SetSQLXML(Int32, ISQLXML) Method

Definition

Sets the designated parameter to the given java.sql.SQLXML object.

[Android.Runtime.Register("setSQLXML", "(ILjava/sql/SQLXML;)V", "GetSetSQLXML_ILjava_sql_SQLXML_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetSQLXML (int parameterIndex, Java.Sql.ISQLXML? xmlObject);
[<Android.Runtime.Register("setSQLXML", "(ILjava/sql/SQLXML;)V", "GetSetSQLXML_ILjava_sql_SQLXML_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetSQLXML : int * Java.Sql.ISQLXML -> unit

Parameters

parameterIndex
Int32

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

xmlObject
ISQLXML

a SQLXML object that maps an SQL XML value

Attributes

Exceptions

if a database error happens.

Remarks

Sets the designated parameter to the given java.sql.SQLXML object. The driver converts this to an SQL XML value when it sends it to the database.

Added in 1.6.

Java documentation for java.sql.PreparedStatement.setSQLXML(int, java.sql.SQLXML).

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