WebTemplateInfoProviderGetWebTemplates Method (String, String, Int32, String, Boolean) |
Gets dataset with all web templates.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 12.0.0
Syntax public static InfoDataSet<WebTemplateInfo> GetWebTemplates(
string where,
string orderBy,
int topN = -1,
string columns = null,
bool onlyExisting = false
)
Parameters
- where
- Type: SystemString
Where condition - orderBy
- Type: SystemString
Order by columns - topN (Optional)
- Type: SystemInt32
Select top N rows - columns (Optional)
- Type: SystemString
Select only specified columns - onlyExisting (Optional)
- Type: SystemBoolean
Return only templates that exist physically on the disc
Return Value
Type:
InfoDataSetWebTemplateInfoSee Also