System.Xml.XPath.XPathDocument.XPathDocument C# (CSharp) Метод

XPathDocument() публичный Метод

Create a new document and load the content from the text reader.
public XPathDocument ( TextReader textReader ) : System
textReader TextReader
Результат System
        public XPathDocument(TextReader textReader) {
            XmlTextReaderImpl reader = SetupReader(new XmlTextReaderImpl(string.Empty, textReader));

            try {
                LoadFromReader(reader, XmlSpace.Default);
            }
            finally {
                reader.Close();
            }
        }

Same methods

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