Glen,
It will just take the first 1000, from the API help:
The CSVLayer uses a service from ArcGIS.com, therefore your csv/txt must be publicly accessible on the internet. The service from ArcGIS.com has a maximum number of 1000 records allowed.
Regards
Anthony