共用方式為


WebTemplateCollection Class

Specifies a collection of site templates.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.ClientObjectCollection
      Microsoft.SharePoint.Client.ClientObjectCollection<WebTemplate>
        Microsoft.SharePoint.Client.WebTemplateCollection

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
<ScriptTypeAttribute("SP.WebTemplateCollection", ServerTypeId := "{15c2ecda-d49e-4fda-97c8-c538a203dfb5}")> _
Public Class WebTemplateCollection _
    Inherits ClientObjectCollection(Of WebTemplate)
'Usage
Dim instance As WebTemplateCollection
[ScriptTypeAttribute("SP.WebTemplateCollection", ServerTypeId = "{15c2ecda-d49e-4fda-97c8-c538a203dfb5}")]
public class WebTemplateCollection : ClientObjectCollection<WebTemplate>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WebTemplateCollection Members

Microsoft.SharePoint.Client Namespace