Share via


IParameterMetaData.GetParameterType(Int32) Method

Definition

Retrieves the designated parameter's SQL type.

[Android.Runtime.Register("getParameterType", "(I)I", "GetGetParameterType_IHandler:Java.Sql.IParameterMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetParameterType (int param);
[<Android.Runtime.Register("getParameterType", "(I)I", "GetGetParameterType_IHandler:Java.Sql.IParameterMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetParameterType : int -> int

Parameters

param
Int32

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

Returns

SQL type from java.sql.Types

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the designated parameter's SQL type.

Added in 1.4.

Java documentation for java.sql.ParameterMetaData.getParameterType(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