DeleteFile Method

Delete specified file from local disk.

[Syntax]
C++: HRESULT DeleteFile( BSTR FileName, long* pVal ) 
Visual Basic: DeleteFile( FileName As String ) As long
C#: long DeleteFile( string FileName )

Parameter:

FileName:

Name of the file to be deleted.

Return value:

If this method succeeds, the return value is zero. If it fails, the return value is non-zero.

Remarks:

Additional function to delete temporary file.

See Also

SaveMail Method


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.