This documentation is archived and is not being maintained.

SPListItem.CopyTo Method

Windows SharePoint Services 3

Copies the item to the specified destination.

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

public void CopyTo(
	string destinationUrl
)

Parameters

destinationUrl
Type: System.String
A string that contains the URL of the destination to which to copy the item.
NoteNote

The destination URL must reside on the same server on which the code is running. This copy operation does not copy to URLs on remote servers.

Show: