IResultSet.GetByte IResultSet.GetByte Method

Definition

Overloads

GetByte(Int32) GetByte(Int32)

Gets the value of a column specified by column index as a byte.

GetByte(String) GetByte(String)

Gets the value of a column specified by column name as a byte.

GetByte(Int32) GetByte(Int32)

Gets the value of a column specified by column index as a byte.

[Android.Runtime.Register("getByte", "(I)B", "GetGetByte_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public sbyte GetByte (int columnIndex);
abstract member GetByte : int -> sbyte

Parameters

columnIndex
Int32 Int32

the index of the column to read.

Returns

Exceptions

if a database error happens.

Remarks

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.

GetByte(String) GetByte(String)

Gets the value of a column specified by column name as a byte.

[Android.Runtime.Register("getByte", "(Ljava/lang/String;)B", "GetGetByte_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public sbyte GetByte (string columnLabel);
abstract member GetByte : string -> sbyte

Parameters

columnLabel
String String

Returns

Exceptions

if a database error happens.

Remarks

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