共用方式為


IRowSetInternal.SetMetaData(IRowSetMetaData) Method

Definition

Sets the given RowSetMetaData object as the RowSetMetaData object for this RowSet object.

[Android.Runtime.Register("setMetaData", "(Ljavax/sql/RowSetMetaData;)V", "GetSetMetaData_Ljavax_sql_RowSetMetaData_Handler:Javax.Sql.IRowSetInternalInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetMetaData (Javax.Sql.IRowSetMetaData? md);
[<Android.Runtime.Register("setMetaData", "(Ljavax/sql/RowSetMetaData;)V", "GetSetMetaData_Ljavax_sql_RowSetMetaData_Handler:Javax.Sql.IRowSetInternalInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetMetaData : Javax.Sql.IRowSetMetaData -> unit

Parameters

md
IRowSetMetaData

the RowSetMetaData object that will be set with information about the rowset's columns

Attributes

Exceptions

if there is a problem accessing the database.

Remarks

Sets the given RowSetMetaData object as the RowSetMetaData object for this RowSet object. The RowSetReader object associated with the rowset will use RowSetMetaData methods to set the values giving information about the rowset's columns.

Java documentation for javax.sql.RowSetInternal.setMetaData(javax.sql.RowSetMetaData).

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