Sdílet prostřednictvím


DriverPropertyInfo Constructors

Definition

Overloads

DriverPropertyInfo(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

DriverPropertyInfo(String, String)

Constructs a DriverPropertyInfo object with a given name and value.

DriverPropertyInfo(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected DriverPropertyInfo (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Sql.DriverPropertyInfo : nativeint * Android.Runtime.JniHandleOwnership -> Java.Sql.DriverPropertyInfo

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

DriverPropertyInfo(String, String)

Constructs a DriverPropertyInfo object with a given name and value.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public DriverPropertyInfo (string? name, string? value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Sql.DriverPropertyInfo : string * string -> Java.Sql.DriverPropertyInfo

Parameters

name
String

the name of the property

value
String

the current value, which may be null

Attributes

Remarks

Constructs a DriverPropertyInfo object with a given name and value. The description and choices are intialized to null and required is initialized to false.

Java documentation for java.sql.DriverPropertyInfo.DriverPropertyInfo(java.lang.String, java.lang.String).

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