ArcGIS Pro 2.7 API Reference Guide
UploadDefinition Constructor

ArcGIS.Desktop.Core Namespace > UploadDefinition Class : UploadDefinition Constructor
The portal url. Equivalent to portal.PortalUri.ToString()
The item to be uploaded
A non-null array of tags
Default constructor. Provide the url of the portal, the item to be uploaded and an array of tags.
Syntax
public UploadDefinition( 
   string portalURL,
   Item itemToUpload,
   string[] tags
)
Public Function New( _
   ByVal portalURL As String, _
   ByVal itemToUpload As Item, _
   ByVal tags() As String _
)

Parameters

portalURL
The portal url. Equivalent to portal.PortalUri.ToString()
itemToUpload
The item to be uploaded
tags
A non-null array of tags
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

UploadDefinition Class
UploadDefinition Members