Share via


ISQLXML.SetBinaryStream Method

Definition

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

[Android.Runtime.Register("setBinaryStream", "()Ljava/io/OutputStream;", "GetSetBinaryStreamHandler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public System.IO.Stream? SetBinaryStream ();
[<Android.Runtime.Register("setBinaryStream", "()Ljava/io/OutputStream;", "GetSetBinaryStreamHandler:Java.Sql.ISQLXMLInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetBinaryStream : unit -> System.IO.Stream

Returns

a stream to which data can be written.

Attributes

Exceptions

if an error occurs accessing the data

Remarks

Retrieves a stream that can be used to write the XML value that this SQLXML instance represents. The stream begins at position 0. The bytes of the stream are interpreted according to appendix F of the XML 1.0 specification The behavior of this method is the same as ResultSet.updateBinaryStream() 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.setBinaryStream().

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