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.6.492
Syntax
int FoldersCount()

Return Value

Int32
A collection of asset folders.
Example
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