public void AddDataTree(string key, string fName, BPlusTree <string, String> .OptionsV2 treeData) { using (var tree = new BPlusTree <string, String>(treeData)) { tree.Add(key, fName); tree.TryGetValue(key, out string cmpDate); var xmlNAME = new XMLRead(); xmlNAME.ReadXmlData(cmpDate); } }