SPSite.GetCustomWebTemplates 方法

Returns the collection of site templates for the site collection based on the specified locale ID (LCID).

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function GetCustomWebTemplates ( _
    LCID As UInteger _
) As SPWebTemplateCollection
用法
Dim instance As SPSite
Dim LCID As UInteger
Dim returnValue As SPWebTemplateCollection

returnValue = instance.GetCustomWebTemplates(LCID)
public SPWebTemplateCollection GetCustomWebTemplates(
    uint LCID
)

参数

  • LCID
    类型:System.UInt32

    A 32-bit unsigned integer that specifies the LCID.

返回值

类型:Microsoft.SharePoint.SPWebTemplateCollection
An SPWebTemplateCollection object that represents the site templates.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间