Language

ISQLXML.String Property

Definition

Returns this object's data as an XML string.

public string? String { [Android.Runtime.Register("getString", "()Ljava/lang/String;", "GetGetStringHandler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setString", "(Ljava/lang/String;)V", "GetSetString_Ljava_lang_String_Handler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getString", "()Ljava/lang/String;", "GetGetStringHandler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setString", "(Ljava/lang/String;)V", "GetSetString_Ljava_lang_String_Handler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.String : string with get, set

Property Value

a string representation of the XML value designated by this SQLXML instance.

Attributes

Exceptions

if an error occurs accessing the data

Remarks

Returns a string representation of the XML value designated by this SQLXML instance. The format of this String is defined by org.xml.sax.InputSource, where the characters in the stream represent the unicode code points for XML according to section 2 and appendix B of the XML 1.0 specification. Although an encoding declaration other than unicode may be present, the encoding of the String is unicode. The behavior of this method is the same as ResultSet.getString() when the designated column of the ResultSet has a type java.sql.Types of SQLXML. The SQL XML object becomes not readable when this method is called and may also become not writable depending on implementation.

Java reference for java.sql.SQLXML.getString.

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