Android.Test.Mock.MockCursor.GetShort Method
Returns the value of the requested column as a short.

Syntax

[Android.Runtime.Register("getShort", "(I)S", "GetGetShort_IHandler")]
public virtual short GetShort (int columnIndex)

Parameters

columnIndex
the zero-based index of the target column.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the value of the requested column as a short.

The result and whether this method throws an exception when the column value is null, the column type is not an integral type, or the integer value is outside the range [Short.MIN_VALUE, Short.MAX_VALUE] is implementation-defined.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8