Freigeben über


IResultSet.GetURL Method

Definition

Overloads

GetURL(String)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

GetURL(Int32)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

GetURL(String)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

[Android.Runtime.Register("getURL", "(Ljava/lang/String;)Ljava/net/URL;", "GetGetURL_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Net.URL? GetURL (string? columnLabel);
[<Android.Runtime.Register("getURL", "(Ljava/lang/String;)Ljava/net/URL;", "GetGetURL_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetURL : string -> Java.Net.URL

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

Returns

URL

the column value as a java.net.URL object; if the value is SQL NULL, the value returned is null in the Java programming language

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

Added in 1.4.

Java documentation for java.sql.ResultSet.getURL(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

GetURL(Int32)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

[Android.Runtime.Register("getURL", "(I)Ljava/net/URL;", "GetGetURL_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Net.URL? GetURL (int columnIndex);
[<Android.Runtime.Register("getURL", "(I)Ljava/net/URL;", "GetGetURL_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetURL : int -> Java.Net.URL

Parameters

columnIndex
Int32

the index of the column 1 is the first, 2 is the second,...

Returns

URL

the column value as a java.net.URL object; if the value is SQL NULL, the value returned is null in the Java programming language

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

Added in 1.4.

Java documentation for java.sql.ResultSet.getURL(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