PublicAPI.Docflow.Folder.FindFolders ELMA API Documentation
Find folders by name
 
 
Syntax

public IEnumerable<Folder> FindFolders(
	Folder parentFolder,
	string folderName
)

Parameters

parentFolder
Type: Folder
Parent Folder, to search in. Object. Access path: PublicAPI.Docflow.Folder
folderName
Type: System String
Names of the folders to find

Return Value

Type: IEnumerable Folder 
IFolder type objects collection
Examples

//load the folder by ID 
var myParentFolder = PublicAPI.Docflow.Folder.Load(3);
//names of the folders to find 
var myFolderName = "New Folder";

//find folders by name 
var findedFolders = PublicAPI.Docflow.Folder.FindFolders(myParentFolder, myFolderName);

//findedFolders - found folders
See Also