Export (0) Print
Expand All

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)
Available in Sandboxed Solutions: No

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

Type Parameters

T

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.
Show:
© 2014 Microsoft