text: public void CopyValue(ICell destCell){switch (_cellType){case CellType.Blank: destCell.SetCellType(CellType.Blank); return;case CellType.Numeric: destCell.SetCellValue(_numberValue); return;case CellType.Boolean: destCell.SetCellValue(_boolValue); return;case CellType.String: destCell.SetCellValue(_stringValue); return;case CellType.Error: destCell.SetCellErrorValue((byte)_errorValue); return;}throw new InvalidOperationException("Unexpected data type (" + _cellType + ")");}