Share via


IParameterMetaData.IsNullable(Int32) Method

Definition

Retrieves whether null values are allowed in the designated parameter.

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

Parameters

param
Int32

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

Returns

the nullability status of the given parameter; one of ParameterMetaData.parameterNoNulls, ParameterMetaData.parameterNullable, or ParameterMetaData.parameterNullableUnknown

Attributes

Exceptions

if a database error is encountered.

Remarks

Retrieves whether null values are allowed in the designated parameter.

Added in 1.4.

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