Deletes the specified temporary file.
public static bool DeleteTemporaryFile(
Public Shared Function DeleteTemporaryFile(
ByVal fileName As String
) As Boolean
static bool DeleteTemporaryFile(
String containing the filename to delete.
true, if the specified temporary file was deleted; otherwise, false.
Use this method to delete temporary files created by RasterDefaults.GetTemporaryFileName.
public static void DeleteTemporaryFile_Example()
String tempFile = RasterDefaults.GetTemporaryFileName();
/* do something with the temp file */
RasterDefaults.DeleteTemporaryFile(tempFile); /* Delete tempFile when you are done with it */
Public Shared Sub DeleteTemporaryFileTest()
Dim tempFile As String = RasterDefaults.GetTemporaryFileName
' do something with the temp file
RasterDefaults.DeleteTemporaryFile(tempFile) ' Delete tempFile when you are done with it
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries