SPUtility.GetControlTemplatesFolder method
SharePoint 2013
return versioned controlTemplates folder for the specified web. return "_controltemplates/site.CompatibilityLevel" if site.CompatibilityLevel >= 15 otherwise, return "_controltemplates" (when CompatibilityLevel is 14)
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- site
- Type: Microsoft.SharePoint.SPSite