using System; using System.Collections; namespace BP.En { /// /// 属性 /// public class AttrFile { public string FileNo = null; public string FileName = null; public AttrFile(string fileno,string filename) { this.FileNo = fileno; this.FileName = filename; } public AttrFile() { } } /// /// 属性集合 /// [Serializable] public class AttrFiles : CollectionBase { public AttrFiles() { } /// /// 增加文件 /// /// /// public void Add(string fileNo, string fileName) { this.InnerList.Add(new AttrFile(fileNo, fileName)); } } }