Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static string GetControlTemplatesFolder(
	SPSite site
)

Parameters

site
Type: Microsoft.SharePoint.SPSite

Return value

Type: System.String
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.