.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
File.DeleteFile Method

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(
String^ fullFileName
)

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

File Class

File Members

MwPDMApi Namespace