Jump to: navigation, search

Difference between revisions of "Activity:DeleteFile (Activity)"


(Created page with "{{ActivityInfoBox | title = Delete File | name = DeleteFile | image = | imagecaption = Activity DeleteFile | purpose = Delete a file | category = File Primitives | returns = ...")
 
Line 22: Line 22:
 
| SingleFileName || {{String_MSDN}} || In || Full path name of a file to be deleted
 
| SingleFileName || {{String_MSDN}} || In || Full path name of a file to be deleted
 
|}
 
|}
 +
 
==Usage==
 
==Usage==
 
This activity deletes files specified by full path names given in the '''IN''' arguments '''SingleFileNamefiles''' and '''FileNames'''.
 
This activity deletes files specified by full path names given in the '''IN''' arguments '''SingleFileNamefiles''' and '''FileNames'''.
Line 28: Line 29:
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
 +
* [[DeleteDirectoryContent_(Activity)]]
  
 
[[Category:Workflows]]
 
[[Category:Workflows]]
 
[[Category:Activities]]
 
[[Category:Activities]]

Revision as of 16:02, 7 January 2015

Delete File
Name DeleteFile
Purpose Delete a file
Category File Primitives
Returns Number of deleted files
Version 2.3+

The DeleteFileactivity deletes one or more files specified by its full path.

Arguments

Argument Type Direction Purpose
FileNames List<String> In List of full path names of files to be deleted
Result Integer Out Number of deleted file
SingleFileName String In Full path name of a file to be deleted

Usage

This activity deletes files specified by full path names given in the IN arguments SingleFileNamefiles and FileNames. It returns the number of actual deleted files.

See also