Share via


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
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property WebTemplate As String
    Get
    Set
'Usage
Dim instance As WebCreationInformation
Dim value As String

value = instance.WebTemplate

instance.WebTemplate = value
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