Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes an instance of the SPPersistedChildCollection<T> class to create a collection of objects of a given type that are owned by the specified parent object and are compared by a specified delegate method.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Sub New ( _
parent As SPPersistedObject, _
comparison As Comparison(Of T) _
)
'Usage
Dim parent As SPPersistedObject
Dim comparison As Comparison(Of T)
Dim instance As New SPPersistedChildCollection(parent, _
comparison)
protected SPPersistedChildCollection(
SPPersistedObject parent,
Comparison<T> comparison
)
Parameters
parent
Type: Microsoft.SharePoint.Administration.SPPersistedObjectThe parent persisted object.
comparison
Type: System.Comparison<T>The delegate method to compare two objects of the type contained in this collection. This method is used when the collection is sorted.
See Also
Reference
SPPersistedChildCollection<T> Class
SPPersistedChildCollection<T> Members