Share via


SPScriptSafeCollection class

This is the base collection for the SPScriptSafePagesCollection and SPScriptSafeDomainsCollection classes.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.SPScriptSafeCollection
        Microsoft.SharePoint.SPScriptSafeDomainsCollection
        Microsoft.SharePoint.SPScriptSafePagesCollection

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

Syntax

'Declaration
Public MustInherit Class SPScriptSafeCollection _
    Inherits SPBaseCollection _
    Implements IEnumerable(Of String), IEnumerable
'Usage
Dim instance As SPScriptSafeCollection
public abstract class SPScriptSafeCollection : SPBaseCollection, 
    IEnumerable<string>, IEnumerable

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

SPScriptSafeCollection members

Microsoft.SharePoint namespace