DataTruncation.Index Property

Definition

Retrieves the index of the column or parameter that was truncated.

public virtual int Index { [Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler")] get; }
[<get: Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler")>]
member this.Index : int

Property Value

the index of the truncated paramter or column value

Attributes

Remarks

Retrieves the index of the column or parameter that was truncated.

This may be -1 if the column or parameter index is unknown, in which case the parameter and read fields should be ignored.

Java documentation for java.sql.DataTruncation.getIndex().

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