Documentation > CMS Template API Library > Asset > GetFolderList(AssetParams)
GetFolderList
Gets a list of subfolders in this folder.
public List<Asset> GetFolderList(AssetParams)
Returns
The list of subfolders.
Parameters
Name | Description | Type |
---|---|---|
assetParams | The parameters used to filter the returned results. Set ExcludeProjectTypes to false on Params object if you want new project related types to be returned. | CrownPeak.CMSAPI.AssetParams |
Code Example
C#
Sample:
AssetParams aParams = new AssetParams(); aParams.Limit = 10; List<Asset> folders = asset.GetFolderList(aParams);