Språk

MergeCursor.GetColumnNames Method

Definition

Returns the column names from the currently selected cursor, or an empty array if no cursor is selected.

[Android.Runtime.Register("getColumnNames", "()[Ljava/lang/String;", "GetGetColumnNamesHandler")]
public override string[]? GetColumnNames();
[<Android.Runtime.Register("getColumnNames", "()[Ljava/lang/String;", "GetGetColumnNamesHandler")>]
override this.GetColumnNames : unit -> string[]

Returns

String[]

The column names from the currently selected cursor, or an empty array if no cursor is selected.

Attributes

Remarks

The cursors can have different schemas, so the column names can change when the selected cursor changes.

Android reference for android.database.MergeCursor.getColumnNames.

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