Megosztás a következőn keresztül:


IResultSetMetaData.GetColumnClassName(Int32) Method

Definition

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.

[Android.Runtime.Register("getColumnClassName", "(I)Ljava/lang/String;", "GetGetColumnClassName_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetColumnClassName (int column);
[<Android.Runtime.Register("getColumnClassName", "(I)Ljava/lang/String;", "GetGetColumnClassName_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetColumnClassName : int -> string

Parameters

column
Int32

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

Returns

the fully-qualified name of the class in the Java programming language that would be used by the method ResultSet.getObject to retrieve the value in the specified column. This is the class name used for custom mapping.

Attributes

Exceptions

if there is a database error.

Remarks

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column. ResultSet.getObject may return a subclass of the class returned by this method.

Added in 1.2.

Java documentation for java.sql.ResultSetMetaData.getColumnClassName(int).

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