次の方法で共有


SPPersistedCustomWebTemplate class

Represents a custom Web template that is persisted.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedCustomWebTemplate

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

Syntax

'Declaration
<GuidAttribute("AAFADADF-8FD8-4E78-B0B5-80B37E755068")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPPersistedCustomWebTemplate _
    Inherits SPPersistedObject
'Usage
Dim instance As SPPersistedCustomWebTemplate
[GuidAttribute("AAFADADF-8FD8-4E78-B0B5-80B37E755068")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPPersistedCustomWebTemplate : SPPersistedObject

Remarks

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

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

SPPersistedCustomWebTemplate members

Microsoft.SharePoint.Administration namespace