次の方法で共有


ISQLXML.SetCharacterStream Method

Definition

Retrieves a stream to be used to write the XML value that this SQLXML instance represents.

[Android.Runtime.Register("setCharacterStream", "()Ljava/io/Writer;", "GetSetCharacterStreamHandler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.IO.Writer? SetCharacterStream ();
[<Android.Runtime.Register("setCharacterStream", "()Ljava/io/Writer;", "GetSetCharacterStreamHandler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCharacterStream : unit -> Java.IO.Writer

Returns

a stream to which data can be written.

Attributes

Exceptions

if an error occurs accessing the data

Remarks

Retrieves a stream to be used to write the XML value that this SQLXML instance represents. The format of this stream 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 stream is unicode. The behavior of this method is the same as ResultSet.updateCharacterStream() when the designated column of the ResultSet has a type java.sql.Types of SQLXML.

The SQL XML object becomes not writeable when this method is called and may also become not readable depending on implementation.

Added in 1.6.

Java documentation for java.sql.SQLXML.setCharacterStream().

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