SPWeb.SetAvailableWebTemplates 方法

Specifies the Web templates that are available for creating subsites below the website for the specified locale.

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

语法

声明
Public Sub SetAvailableWebTemplates ( _
    webTemplates As Collection(Of SPWebTemplate), _
    lcid As UInteger _
)
用法
Dim instance As SPWeb
Dim webTemplates As Collection(Of SPWebTemplate)
Dim lcid As UInteger

instance.SetAvailableWebTemplates(webTemplates, _
    lcid)
public void SetAvailableWebTemplates(
    Collection<SPWebTemplate> webTemplates,
    uint lcid
)

参数

  • lcid
    类型:System.UInt32

    An unsigned 32-bit integer that specifies the locale ID.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间