SPPersistedCustomWebTemplateCollection class

Represents a collection of persisted custom Web templates that share a Web service or Web application as parent object.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPPersistedCustomWebTemplate>
    Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPPersistedCustomWebTemplate>
      Microsoft.SharePoint.Administration.SPPersistedCustomWebTemplateCollection

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<GuidAttribute("75C7C4A3-0FC7-4967-98E8-9FDF4FF9A2CA")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPPersistedCustomWebTemplateCollection _
    Inherits SPPersistedChildCollection(Of SPPersistedCustomWebTemplate)
'Usage
Dim instance As SPPersistedCustomWebTemplateCollection
[GuidAttribute("75C7C4A3-0FC7-4967-98E8-9FDF4FF9A2CA")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPPersistedCustomWebTemplateCollection : SPPersistedChildCollection<SPPersistedCustomWebTemplate>

Remarks

Each SPPersistedCustomWebTemplate object contains an SPPersistedFile object.

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

SPPersistedCustomWebTemplateCollection members

Microsoft.SharePoint.Administration namespace