VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Pdf.Tree.FileAttachments Namespace / PdfAttachmentFolder Class / RenameFile Method
The old filename.
The new filename.



In This Topic
    RenameFile Method
    In This Topic
    Renames the file with specified name.
    Syntax
    'Declaration
     
    Public Function RenameFile( _
       ByVal oldFilename As String, _
       ByVal newFilename As String _
    ) As Boolean
    public bool RenameFile( 
       string oldFilename,
       string newFilename
    )
    public: bool RenameFile( 
       string* oldFilename,
       string* newFilename
    ) 
    public:
    bool RenameFile( 
       String^ oldFilename,
       String^ newFilename
    ) 

    Parameters

    oldFilename
    The old filename.
    newFilename
    The new filename.

    Return Value

    true if file is found and renamed; otherwise, false.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also