Compartilhar via


IParameterMetaData.GetParameterMode(Int32) Method

Definition

Retrieves the designated parameter's mode.

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

Parameters

param
Int32

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

Returns

mode of the parameter; one of ParameterMetaData.parameterModeIn, ParameterMetaData.parameterModeOut, or ParameterMetaData.parameterModeInOutParameterMetaData.parameterModeUnknown.

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the designated parameter's mode.

Added in 1.4.

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