Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Node.ExNode.RecurseAllNodes C# (CSharp) Méthode

RecurseAllNodes() public static méthode

public static RecurseAllNodes ( ) : void
Résultat void
        public static void RecurseAllNodes()
        {
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_WorkingWithNode();
            // Open a document.
            Document doc = new Document(dataDir + "Node.RecurseAllNodes.doc");

            // Invoke the recursive function that will walk the tree.
            TraverseAllNodes(doc);
        }