Condividi tramite


IParameterMetaData.GetParameterTypeName(Int32) Method

Definition

Retrieves the designated parameter's database-specific type name.

[Android.Runtime.Register("getParameterTypeName", "(I)Ljava/lang/String;", "GetGetParameterTypeName_IHandler:Java.Sql.IParameterMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetParameterTypeName (int param);
[<Android.Runtime.Register("getParameterTypeName", "(I)Ljava/lang/String;", "GetGetParameterTypeName_IHandler:Java.Sql.IParameterMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetParameterTypeName : int -> string

Parameters

param
Int32

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

Returns

type the name used by the database. If the parameter type is a user-defined type, then a fully-qualified type name is returned.

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the designated parameter's database-specific type name.

Added in 1.4.

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