SPCopyDestinationCollection class

Represents a collection of SPCopyDestination objects.

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

public sealed class SPCopyDestinationCollection : SPBaseCollection

Use the CopyDestinations property of the SPListItem class to return the collection of destination URLs for the list item. To create a copy destination, use the Add method.

Use an indexer to return the URL of a single copy destination from the collection. For example, if the collection is assigned to a variable named myCopyDestinations, use myCopyDestinations[index] in C#, or myCopyDestinations(index) in Microsoft Visual Basic, where index is the index number of the copy destination 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.