Search Results for

    Show / Hide Table of Contents

    Class FileOperations

    File operations contains implementaion of all the file related operations

    Inheritance
    System.Object
    FileOperations
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Quark.XA.Core.AutomationProject.ActionsXA.Utilities
    Assembly: Quark.XA.Core.AutomationProject.dll
    Syntax
    public class FileOperations

    Methods

    AutoRenameFile(String)

    Declaration
    public static string AutoRenameFile(string fullPath)
    Parameters
    Type Name Description
    System.String fullPath
    Returns
    Type Description
    System.String

    CopyTo(String, String, Boolean)

    Copies a File to Desired Location

    Declaration
    public void CopyTo(string source, string destination, bool overwrite = true)
    Parameters
    Type Name Description
    System.String source

    Source File path

    System.String destination

    Destination File Path

    System.Boolean overwrite

    DeleteDir(String)

    Declaration
    public static void DeleteDir(string FolderName)
    Parameters
    Type Name Description
    System.String FolderName

    DeleteFile(String)

    Delete File from given location

    Declaration
    public void DeleteFile(string filepath)
    Parameters
    Type Name Description
    System.String filepath

    File path

    IfFileExists(String)

    Checks if a File Exists

    Declaration
    public bool IfFileExists(string path)
    Parameters
    Type Name Description
    System.String path

    File path

    Returns
    Type Description
    System.Boolean

    If file exists then TRUE else FALSE

    In This Article
    Back to top © 2025 Quark Software Inc. All rights reserved.