SPCopyDestinationCollection class
SharePoint 2013
Represents a collection of SPCopyDestination objects.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPCopyDestinationCollection
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPCopyDestinationCollection
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.
Show: