ArcGIS Pro 2.9 API Reference Guide
CreateFolderIfNotPresent Property

ArcGIS.Desktop.Core Namespace > UploadDefinition Class : CreateFolderIfNotPresent Property
Gets or sets a value that indicates if the folder should be created while uploading files
Syntax
public bool CreateFolderIfNotPresent {get; set;}
Public Property CreateFolderIfNotPresent As Boolean
Remarks
Applies to FolderName only. If a FolderID is specified or no FolderID or FolderName is provided then this parameter is ignored. The default value is true
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

UploadDefinition Class
UploadDefinition Members