Exemple #1
0
        public ExcelCell this[string name]
        {
            get
            {
                uint index = ExcelCell.GetColumnIndex(name);
                if (index < 1)
                {
                    throw new ArgumentException("Index column cannot be less than 1!");
                }
                if (this.List.ContainsKey(index))
                {
                    return(this.List[index]);
                }

                return(GetCell(index));
            }
        }
Exemple #2
0
 public void Remove(string colName)
 {
     Remove(ExcelCell.GetColumnIndex(colName));
 }
Exemple #3
0
 public bool Contains(string colName)
 {
     return(this.List.ContainsKey(ExcelCell.GetColumnIndex(colName)));
 }
Exemple #4
0
 public void RemoveCell(string address)
 {
     RemoveCell(ExcelCell.GetRowIndex(address), ExcelCell.GetColumnIndex(ExcelCell.GetColumnName(address)));
 }