Click or drag to resize

IAssetFolderFoldersCount Method


Retrieves a collection of the asset folders within a context asset folder in the Assets Tree within a particular Site.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
int FoldersCount()

Return Value

Type: Int32
A collection of asset folders.
Examples
Example of Folders method in custom hook:
C#
int outVar;
foreach(IAssetFolder folder in session.Site.AssetFolder("af/5").Folders(out outVar)){
    //Additional Actions
}
See Also