.NET Framework Class Library
File.DeleteFile Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > File Class > File Methods > .NET Framework Class Library |
Delete a file into a given directory
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub DeleteFile ( _ fullFileName As String _ |
C# |
|---|
public void DeleteFile( string fullFileName |
Visual C++ |
|---|
public: void DeleteFile( |
JavaScript |
|---|
function deleteFile(fullFileName); |
Parameters
fullFileName
Type: System.String
full name of the file to delete
Remarks
If the file is in read only state, the state is changed before deleting
See Also