Sdílet prostřednictvím


IResultSetMetaData.GetColumnName(Int32) Method

Definition

Get the designated column's name.

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

Parameters

column
Int32

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

Returns

column name

Attributes

Exceptions

if there is a database error.

Remarks

Get the designated column's name.

Java documentation for java.sql.ResultSetMetaData.getColumnName(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