Class FolderDirectory
to store and return all the local folder locations
Inheritance
System.Object
FolderDirectory
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 FolderDirectory
Methods
CheckIfFolderExists(String)
Declaration
public static bool CheckIfFolderExists(string folderpath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | folderpath |
Returns
| Type | Description |
|---|---|
| System.Boolean |
CreateDirectory(String)
Declaration
public static void CreateDirectory(string folderpath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | folderpath |
DeleteDirectory(String)
Declaration
public static void DeleteDirectory(string folderpath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | folderpath |
GetFolderName(FolderDirectory.FolderName)
To get the location of folder name
Declaration
public static string GetFolderName(FolderDirectory.FolderName foldername)
Parameters
| Type | Name | Description |
|---|---|---|
| FolderDirectory.FolderName | foldername | Nme of th Folder |
Returns
| Type | Description |
|---|---|
| System.String | Location of the Folder |