共用方式為


WebCreationInformation.WebTemplate Property

Gets or sets a value that specifies the name of the site template to be used for creating the new site.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property WebTemplate As String
    Get
    Set
'Usage
Dim instance As WebCreationInformation
Dim value As String

value = instance.WebTemplate

instance.WebTemplate = value
[RemoteAttribute]
public string WebTemplate { get; set; }

Property Value

Type: System.String
A String object that represents the name of the site template.

Remarks

This property must refer to an existing site template.

See Also

Reference

WebCreationInformation Class

WebCreationInformation Members

Microsoft.SharePoint.Client Namespace