System.Xml.Xsl.Runtime.XmlQueryOutput.StartTree C# (CSharp) Méthode

StartTree() public méthode

Call XmlSequenceWriter.StartTree() in order to start construction of a new tree.
public StartTree ( XPathNodeType rootType ) : void
rootType XPathNodeType
Résultat void
        public void StartTree(XPathNodeType rootType) {
            Debug.Assert(this.xstate == XmlState.WithinSequence, "StartTree cannot be called in the " + this.xstate + " state.");
            Writer = this.seqwrt.StartTree(rootType, this.nsmgr, this.runtime.NameTable);
            this.rootType = rootType;
            this.xstate = (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) ? XmlState.EnumAttrs : XmlState.WithinContent;
        }