Share via


SPBaseCollection Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Provides the base functionality for collections in the Microsoft.SharePoint and Microsoft.SharePoint.Administration namespaces.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      

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

Syntax

<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPBaseCollection _
    Inherits SPAutoSerializingObject _
    Implements ICollection

Dim instance As SPBaseCollection
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPBaseCollection : SPAutoSerializingObject, 
    ICollection

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

SPBaseCollection Members

Microsoft.SharePoint Namespace

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.Administration.SPContentDatabaseCollection
      Microsoft.SharePoint.Administration.SPPolicy.SPPolicyRoleBindingCollection
      Microsoft.SharePoint.Administration.SPPrefixCollection
      Microsoft.SharePoint.Administration.SPQuotaTemplateCollection
      Microsoft.SharePoint.Administration.SPRunningJobCollection
      Microsoft.SharePoint.Administration.SPSiteCollection
      Microsoft.SharePoint.Administration.SPVirtualServerCollection
      Microsoft.SharePoint.Administration.SPWebServerCollection
      Microsoft.SharePoint.Deployment.SPExportObjectCollection
      Microsoft.SharePoint.Deployment.SPImportObjectCollection
      Microsoft.SharePoint.Navigation.SPNavigationNodeCollection
      Microsoft.SharePoint.SPAlertCollection
      Microsoft.SharePoint.SPAuditEntryCollection
      Microsoft.SharePoint.SPCalendarViewStyleCollection
      Microsoft.SharePoint.SPChangeCollection
      Microsoft.SharePoint.SPChangeTokenCollection
      Microsoft.SharePoint.SPContentTypeCollection
      Microsoft.SharePoint.SPCopyDestinationCollection
      Microsoft.SharePoint.SPDocDiscussionCollection
      Microsoft.SharePoint.SPDocTemplateCollection
      Microsoft.SharePoint.SPEventReceiverDefinitionCollection
      Microsoft.SharePoint.SPFeatureDependencyCollection
      Microsoft.SharePoint.SPFieldCollection
      Microsoft.SharePoint.SPFieldLinkCollection
      Microsoft.SharePoint.SPFieldTypeDefinitionCollection
      Microsoft.SharePoint.SPFileCollection
      Microsoft.SharePoint.SPFileVersionCollection
      Microsoft.SharePoint.SPFolderCollection
      Microsoft.SharePoint.SPFormCollection
      Microsoft.SharePoint.SPLanguageCollection
      Microsoft.SharePoint.SPLinkCollection
      Microsoft.SharePoint.SPListCollection
      Microsoft.SharePoint.SPListItemCollection
      Microsoft.SharePoint.SPListItemVersionCollection
      Microsoft.SharePoint.SPListTemplateCollection
      Microsoft.SharePoint.SPLocaleCollection
      Microsoft.SharePoint.SPMemberCollection
      Microsoft.SharePoint.SPModuleCollection
      Microsoft.SharePoint.SPPermissionCollection
      Microsoft.SharePoint.SPRecycleBinItemCollection
      Microsoft.SharePoint.SPRoleAssignmentCollection
      Microsoft.SharePoint.SPRoleCollection
      Microsoft.SharePoint.SPRoleDefinitionBindingCollection
      Microsoft.SharePoint.SPRoleDefinitionCollection
      Microsoft.SharePoint.SPSearchResultCollection
      Microsoft.SharePoint.SPTimeZoneCollection
      Microsoft.SharePoint.SPViewCollection
      Microsoft.SharePoint.SPViewFieldCollection
      Microsoft.SharePoint.SPViewStyleCollection
      Microsoft.SharePoint.SPWebCollection
      Microsoft.SharePoint.SPWebTemplateCollection
      Microsoft.SharePoint.SPWorkItemCollection
      Microsoft.SharePoint.SPXmlDocumentCollection
      Microsoft.SharePoint.Workflow.SPWorkflowAssociationCollection
      Microsoft.SharePoint.Workflow.SPWorkflowCollection
      Microsoft.SharePoint.Workflow.SPWorkflowModificationCollection
      Microsoft.SharePoint.Workflow.SPWorkflowTaskCollection
      Microsoft.SharePoint.Workflow.SPWorkflowTemplateCollection