System.Xml.XPath.XPathDocument.XPathDocument C# (CSharp) Method

XPathDocument() public method

Create a new document from "reader", with whitespace handling controlled according to "space".
public XPathDocument ( XmlReader reader, XmlSpace space ) : System
reader XmlReader
space XmlSpace
return System
        public XPathDocument(XmlReader reader, XmlSpace space) {
            if (reader == null)
                throw new ArgumentNullException("reader");

            LoadFromReader(reader, space);
        }

Same methods

XPathDocument::XPathDocument ( ) : System
XPathDocument::XPathDocument ( Stream stream ) : System
XPathDocument::XPathDocument ( TextReader textReader ) : System
XPathDocument::XPathDocument ( XmlNameTable nameTable ) : System
XPathDocument::XPathDocument ( XmlReader reader ) : System
XPathDocument::XPathDocument ( string uri ) : System
XPathDocument::XPathDocument ( string uri, XmlSpace space ) : System