VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.FileAttachments Namespace / PdfAttachmentFolder Class / RenameFile(String,String) Method
Syntax Requirements SeeAlso
In This Topic
    RenameFile(String,String) Method (PdfAttachmentFolder)
    In This Topic
    Renames the file with specified name.
    Syntax
    'Declaration
    
    Public Function RenameFile( _
    ByVal oldFilename
    The old filename.
    As System.String, _
    ByVal newFilename
    The new filename.
    As System.String _
    ) As Boolean
    public bool RenameFile(
    System.String oldFilename,
    System.String newFilename
    )
    public: bool RenameFile(
    System.String oldFilename,
    System.String newFilename
    )
    public:
    bool RenameFile(
    System.String oldFilename,
    System.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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also