Share via


SPUtility.GetControlTemplatesFolder-Methode

mit Versionsangabe ControlTemplates Ordner des angegebenen Webs zurück. "_controltemplates/site.CompatibilityLevel" zurück, wenn site.CompatibilityLevel > = 15 andernfalls, kehren Sie zurück "_controltemplates" (bei CompatibilityLevel 14)

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetControlTemplatesFolder ( _
    site As SPSite _
) As String
'Usage
Dim site As SPSite
Dim returnValue As String

returnValue = SPUtility.GetControlTemplatesFolder(site)
public static string GetControlTemplatesFolder(
    SPSite site
)

Parameter

Rückgabewert

Typ: System.String

Siehe auch

Referenz

SPUtility Klasse

SPUtility-Member

Microsoft.SharePoint.Utilities-Namespace