Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / FileHelper Class / SafeDeleteFile Method

In This Topic
    SafeDeleteFile Method
    In This Topic
    Delete a file with no exception being thrown.
    Syntax
    'Declaration
     
    
    Public Shared Function SafeDeleteFile( _
       ByVal fileName As String _
    ) As Boolean
    public static bool SafeDeleteFile( 
       string fileName
    )

    Parameters

    fileName
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also