Click or drag to resize
WebTemplateInfoProviderGetWebTemplates Method (String, String, Int32, String, Boolean)
Gets dataset with all web templates.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 9.0.0
Syntax
C#
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: InfoDataSetWebTemplateInfo
See Also