Freigeben über


StreamResult.OutputStream Property

Definition

Get the byte stream that was set with setOutputStream. -or- Set the ByteStream that is to be written to.

public virtual System.IO.Stream? OutputStream { [Android.Runtime.Register("getOutputStream", "()Ljava/io/OutputStream;", "GetGetOutputStreamHandler")] get; [Android.Runtime.Register("setOutputStream", "(Ljava/io/OutputStream;)V", "GetSetOutputStream_Ljava_io_OutputStream_Handler")] set; }
[<get: Android.Runtime.Register("getOutputStream", "()Ljava/io/OutputStream;", "GetGetOutputStreamHandler")>]
[<set: Android.Runtime.Register("setOutputStream", "(Ljava/io/OutputStream;)V", "GetSetOutputStream_Ljava_io_OutputStream_Handler")>]
member this.OutputStream : System.IO.Stream with get, set

Property Value

The byte stream that was set with setOutputStream, or null if setOutputStream or the ByteStream constructor was not called.

Attributes

Remarks

Property getter documentation:

Get the byte stream that was set with setOutputStream.

Java documentation for javax.xml.transform.stream.StreamResult.getOutputStream().

Property setter documentation:

Set the ByteStream that is to be written to. Normally, a stream should be used rather than a reader, so that the transformer may use instructions contained in the transformation instructions to control the encoding.

Java documentation for javax.xml.transform.stream.StreamResult.setOutputStream(java.io.OutputStream).

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