SPPersistedCustomWebTemplate class
SharePoint 2013
Represents a custom Web template that is persisted.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedCustomWebTemplate
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedCustomWebTemplate
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
The SPPersistedCustomWebTemplate class is a sibling of the SPCustomWebTemplate class, and together, the two classes form one logical class, which inherits from both the SPWebTemplate class and the SPPersistedObject class. An instance of the SPCustomWebTemplate class can be created by supplying an instance of the SPPersistedCustomWebTemplate class. The former class inherits from the SPWebTemplate class and can be used in code that involves an SPWebTemplateCollection.