ArcGIS Pro 2.7 API Reference Guide
ItemToUpload Property

ArcGIS.Desktop.Core Namespace > UploadDefinition Class : ItemToUpload Property
Gets and sets the item to upload
Syntax
public Item ItemToUpload {get; set;}
Public Property ItemToUpload As Item
Remarks
The following items are currently supported:
ArcGIS Geoprocessing package (gpk)
ArcGIS Locator package (gcpk)
ArcGIS Map package (mpk)
ArcGIS Mobile Basemap package (bpk)
ArcGIS Mobile Map package (mmpk)
ArcGIS Server Globe service
ArcGIS Server Geometry service
ArcGIS Server Geoprocessing service
ArcGIS Server Geodata service
ArcGIS Server Network analysis service
ArcGIS Task file (esriTasks)
Arcmap document (mxd)
CSV: A text file of data values separated by commas or other delimiters (csv)
Feature service
Geocoding service
Image service
KML file
Layer file (lyr) or (lyrx)
Layer package (lpk)
Map service
Microsoft Excel Document (.xls, .xlsx)
Tile package (tpk)
Compact Tile package (tpkx)
Vector Tile package (vtpk)
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

UploadDefinition Class
UploadDefinition Members