This topic has not yet been rated - Rate this topic

SPListItem.CopyFrom Method (String)

Windows SharePoint Services 3
Overwrites the current item with the specified version of the item.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
public void CopyFrom (
	string sourceUrl
)

Parameters

sourceUrl

A string that contains the URL of the item version to copy and overwrite.

NoteNote:

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

The CopyFrom method resets the CopySource property on the destination item to sourceUrl.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ