IO..::..DeleteFileIfExists Method

Deletes the file if exists.

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static void DeleteFileIfExists(
	string sPath,
	int WaitTime
)

Parameters

sPath
Type: String
The s path.
WaitTime
Type: Int32
The wait time.