public List <string> GetBranch(string position) { List <string> branchs = new List <string>(); string[] desName = position.ToString().Split('.'); Browser.MoveTo(desName); Browser.ShowBranches(); IEnumerator enumerator = Browser.GetEnumerator(); //树 while (enumerator.MoveNext()) { if (enumerator.Current != null) { branchs.Add(enumerator.Current.ToString()); } } Browser.MoveToRoot(); return(branchs); }