CollectionBase<T> class

Creates a generic class for all public generic collections.

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class CollectionBase<T> : IEnumerable<T>, 
	ICollection, IEnumerable
where T : class

Type parameters

T

This class implements the Microsoft .NET FrameworkIEnumerable generic interface that is required for data binding and iterating collections. This class also implements the .NET FrameworkICollection interface, and provides a Count property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: