Compartir a través de


StreamSource.InputStream Property

Definition

Get the byte stream that was set with setByteStream. -or- Set the byte stream to be used as input.

public virtual System.IO.Stream? InputStream { [Android.Runtime.Register("getInputStream", "()Ljava/io/InputStream;", "GetGetInputStreamHandler")] get; [Android.Runtime.Register("setInputStream", "(Ljava/io/InputStream;)V", "GetSetInputStream_Ljava_io_InputStream_Handler")] set; }
[<get: Android.Runtime.Register("getInputStream", "()Ljava/io/InputStream;", "GetGetInputStreamHandler")>]
[<set: Android.Runtime.Register("setInputStream", "(Ljava/io/InputStream;)V", "GetSetInputStream_Ljava_io_InputStream_Handler")>]
member this.InputStream : System.IO.Stream with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

Get the byte stream that was set with setByteStream.

Java documentation for javax.xml.transform.stream.StreamSource.getInputStream().

Property setter documentation:

Set the byte stream to be used as input. Normally, a stream should be used rather than a reader, so that the XML parser can resolve character encoding specified by the XML declaration.

If this Source object is used to process a stylesheet, normally setSystemId should also be called, so that relative URL references can be resolved.

Java documentation for javax.xml.transform.stream.StreamSource.setInputStream(java.io.InputStream).

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