XmlReaderPullParser.SetInput Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetInput(Reader) |
Always throws NotSupportedException. Java readers are not supported as input. |
| SetInput(Stream, String) |
Creates an XML reader for the stream and encoding, then reads from it once. |
SetInput(Reader)
Always throws NotSupportedException. Java readers are not supported as input.
public void SetInput(Java.IO.Reader? input);
abstract member SetInput : Java.IO.Reader -> unit
override this.SetInput : Java.IO.Reader -> unit
Parameters
- input
- Reader
Not used.
Implements
Remarks
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
SetInput(Stream, String)
Creates an XML reader for the stream and encoding, then reads from it once.
public void SetInput(System.IO.Stream? inputStream, string? inputEncoding);
abstract member SetInput : System.IO.Stream * string -> unit
override this.SetInput : System.IO.Stream * string -> unit
Parameters
- inputStream
- Stream
The stream to read.
- inputEncoding
- String
The name of the encoding to use.
Implements
Remarks
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.