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
webTemplates
Type: System.Collections.ObjectModel.Collection<SPWebTemplate>A collection of SPWebTemplate objects.