.NET Framework Class Library
File.DestroyFile Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > File Class > File Methods >

.NET Framework Class Library
File.DestroyFile Method

This command deletes the file and all the related files like *.GZ, *.TREE, etc.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub DestroyFile ( _

filePath As String _
)

C#

public void DestroyFile(

string filePath
)

Visual C++

public:

void DestroyFile(
String^ filePath
)

JavaScript

function destroyFile(filePath);

Parameters

filePath

Type: System.String
The full path of the file to be deleted

Remarks

It also considers any pending Local Checkout Mode files and deletes them as well

See Also

File Class

File Members

MwPDMApi Namespace