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
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.