SPSite.GetWebTemplates-Methode (UInt32, Int32)
Returns the collection of site definitions that are available for creating Web sites within the site collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetWebTemplates ( _
LCID As UInteger, _
overrideCompatLevel As Integer _
) As SPWebTemplateCollection
'Usage
Dim instance As SPSite
Dim LCID As UInteger
Dim overrideCompatLevel As Integer
Dim returnValue As SPWebTemplateCollection
returnValue = instance.GetWebTemplates(LCID, _
overrideCompatLevel)
public SPWebTemplateCollection GetWebTemplates(
uint LCID,
int overrideCompatLevel
)
Parameter
- LCID
Typ: System.UInt32
- overrideCompatLevel
Typ: System.Int32
Rückgabewert
Typ: Microsoft.SharePoint.SPWebTemplateCollection
An SPWebTemplateCollection object that represents the site definitions.
Hinweise
Die hier bereitgestellten hauptsächlich für die Groß-/Kleinschreibung beim Erstellen von neuen Spsite im Kompatibilitätsmodus, z. B. 14 in einer 15 Farm, wobei-Admin-Website in der Standardeinstellung verwendet aufweist-Methode