PublicAPI.Docflow.Folder.GetAllChildren ELMA API Documentation
Get all the folder documents
 
 
Syntax

public IEnumerable<DmsObject> GetAllChildren(
	Folder folder
)

Parameters

folder
Type: Folder
Folder, whose documents need to be obtained. Object. Access path: PublicAPI.Docflow.Folder

Return Value

Type: IEnumerable DmsObject 
Collection of objects in the folder
Examples

//load the folder by ID 
var myFolder = PublicAPI.Docflow.Folder.Load(3);

//get all the folder contents 
var childrens = PublicAPI.Docflow.Folder.GetAllChildren(myFolder);

//children - collection of objects in the myFolder folder
See Also