Click or drag to resize

fileOpsBasedeleteAll Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Deletes all inside target folder

Namespace:  imbSCI.Core.extensions.io
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static void deleteAll(
	this string targetFolder,
	bool allowOutOfSandBoxTarget = false
)
Request Example View Source

Parameters

targetFolder
Type: SystemString
The source folder.
allowOutOfSandBoxTarget (Optional)
Type: SystemBoolean
if set to true [allow out of sand box target].

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ExceptionSandbox Exception: can't delete files outside application folder [" + fileOpsBase.applicationFolder + "]. Requested delete path [" + targetFolder + "].
See Also