Метод SPSite.GetWebTemplates (UInt32, Int32)
Returns the collection of site definitions that are available for creating Web sites within the site collection.
Пространство имен: Microsoft.SharePoint
Сборка: Microsoft.SharePoint (в Microsoft.SharePoint.dll)
Синтаксис
'Декларация
Public Function GetWebTemplates ( _
LCID As UInteger, _
overrideCompatLevel As Integer _
) As SPWebTemplateCollection
'Применение
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
)
Параметры
- LCID
Тип: System.UInt32
- overrideCompatLevel
Тип: System.Int32
Возвращаемое значение
Тип: Microsoft.SharePoint.SPWebTemplateCollection
An SPWebTemplateCollection object that represents the site definitions.
Замечания
Метод, указанный здесь главным образом в случае при создании новых spsite в режиме совместимости, например 14 15 фермы, где уровень совместимости администратора сайта по умолчанию используется