/// <summary> /// find the RAIS object by the specified path. /// </summary> /// <param name="xtPath">path format: ?name/?name/... /// ? is one of R, A, I, S /// </param> /// <returns></returns> public RAIS GetItemByXTPath(string xtPath) { RAIS rais = this.Root; string s = xtPath; while (!string.IsNullOrEmpty(s)) { string name = VPLUtil.PopPath(ref s); //get one name in the format ?<name> rais = rais.GetSubClass(name); } return(rais); }