SPPersistedDependencyCollection(T) class
Collapse the table of content
Expand the table of content

SPPersistedDependencyCollection<T> class

Represents a collection of persisted objects that depend on a common object.

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

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPPersistedDependencyCollection<T> : SPPersistedObjectCollection<T>
where T : SPPersistedObject

Type parameters


Use the SPPersistedDependencyCollection<T> constructor to return a collection of persisted objects that depend on a specified object.

Use an indexer to return a single persisted object from the collection. For example, if the collection is assigned to a variable named myPersistedDependencies, use myPersistedDependencies[index] in C#, or myPersistedDependencies(index) in Visual Basic, where index is either the name or the GUID that identifies the persisted object in the collection.

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