Method FindFolderByPath
FindFolderByPath(string)
Finds a folder by its path. Returns null if not found.
Declaration
IFolderAccessor FindFolderByPath(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path of the folder, either absolute or relative. |
Returns
| Type | Description |
|---|---|
| IFolderAccessor | The folder at the specified path, or null if not found. |
Examples
var folder = AuraTree.FindFolderByPath("MyProject/Folders/Folder1");
if (folder != null)
{
Log.Info("Folder found!");
}
else
{
Log.Info("Folder not found.");
}