Site.GetWebTemplates メソッド
Returns the collection of site definitions that are available for creating websites within the site collection.
名前空間: Microsoft.SharePoint.Client
アセンブリ: Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内); Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内) Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)
構文
'宣言
Public Function GetWebTemplates ( _
LCID As UInteger, _
overrideCompatLevel As Integer _
) As WebTemplateCollection
'使用
Dim instance As Site
Dim LCID As UInteger
Dim overrideCompatLevel As Integer
Dim returnValue As WebTemplateCollection
returnValue = instance.GetWebTemplates(LCID, _
overrideCompatLevel)
public WebTemplateCollection GetWebTemplates(
uint LCID,
int overrideCompatLevel
)
パラメーター
LCID
型: System.UInt32A 32-bit unsigned integer that specifies the language of the site definitions that are returned from the site collection.
overrideCompatLevel
型: System.Int32Specifies the compatibility level of the site to return from the site collection. If this value is 0, the compatibility level of the site is used.
戻り値
型: Microsoft.SharePoint.Client.WebTemplateCollection
A WebTemplateCollection object that represents the site definitions.
注釈
The method provided here mainly for the case when creating new Site compatibility mode.