Share via


SPWeb.SetAvailableCrossLanguageWebTemplates Method

Specifies a set of language-neutral Web templates that are available for creating subsites below the website, regardless of locale.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.CollectionOfSPTypesParameter)> _
Public Sub SetAvailableCrossLanguageWebTemplates ( _
    webTemplates As Collection(Of SPWebTemplate) _
)
'Usage
Dim instance As SPWeb
Dim webTemplates As Collection(Of SPWebTemplate)

instance.SetAvailableCrossLanguageWebTemplates(webTemplates)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.CollectionOfSPTypesParameter)]
public void SetAvailableCrossLanguageWebTemplates(
    Collection<SPWebTemplate> webTemplates
)

Parameters

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace