共用方式為


SubwebQuery.WebTemplateFilter Property

Gets or sets a value that specifies the template used in the site definition that defines the base structure of a 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 WebTemplateFilter As Integer
    Get
    Set
'Usage
Dim instance As SubwebQuery
Dim value As Integer

value = instance.WebTemplateFilter

instance.WebTemplateFilter = value
[RemoteAttribute]
public int WebTemplateFilter { get; set; }

Property Value

Type: System.Int32
Int32
The template used in the site definition. This property defaults to -1, which means that the query does not filter by any template. The value of this property must not be less than -1.

See Also

Reference

SubwebQuery Class

SubwebQuery Members

Microsoft.SharePoint.Client Namespace