Language

IRef.Object Property

Definition

Gets the SQL structured type instance referenced by this Ref.

public Java.Lang.Object? Object { [Android.Runtime.Register("getObject", "()Ljava/lang/Object;", "GetGetObjectHandler:Java.Sql.IRefInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setObject", "(Ljava/lang/Object;)V", "GetSetObject_Ljava_lang_Object_Handler:Java.Sql.IRefInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getObject", "()Ljava/lang/Object;", "GetGetObjectHandler:Java.Sql.IRefInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setObject", "(Ljava/lang/Object;)V", "GetSetObject_Ljava_lang_Object_Handler:Java.Sql.IRefInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Object : Java.Lang.Object with get, set

Property Value

a Java Object that is the mapping for the SQL structured type to which this Ref object refers

Attributes

Exceptions

if there is a database error.

Remarks

Retrieves the SQL structured type instance referenced by this Ref object. If the connection's type map has an entry for the structured type, the instance will be custom mapped to the Java class indicated in the type map. Otherwise, the structured type instance will be mapped to a Struct object.

Java reference for java.sql.Ref.getObject.

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