public static NXmlReader Create( System.IO.Stream stream )
Parameters
- stream
- The stream that contains XML data and should be read.
Return Value
A XML reader that can be used to read the XML data in the given stream.
public static NXmlReader Create( System.IO.Stream stream )
Exception | Description |
---|---|
System.ArgumentNullException | Thrown if the given stream to read is null. |
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)