SPPersistedCustomWebTemplateCollection - Classe
Représente une collection de modèles de Web personnalisées persistants qui partagent un service Web ou une application Web en tant qu'objet parent.
Hiérarchie d’héritage
System.Object
Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPPersistedCustomWebTemplate>
Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPPersistedCustomWebTemplate>
Microsoft.SharePoint.Administration.SPPersistedCustomWebTemplateCollection
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
<GuidAttribute("75C7C4A3-0FC7-4967-98E8-9FDF4FF9A2CA")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPPersistedCustomWebTemplateCollection _
Inherits SPPersistedChildCollection(Of SPPersistedCustomWebTemplate)
'Utilisation
Dim instance As SPPersistedCustomWebTemplateCollection
[GuidAttribute("75C7C4A3-0FC7-4967-98E8-9FDF4FF9A2CA")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPPersistedCustomWebTemplateCollection : SPPersistedChildCollection<SPPersistedCustomWebTemplate>
Remarques
Chaque objet SPPersistedCustomWebTemplate contient un objet SPPersistedFile .
Cohérence de thread
Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.