SPListItem.CopySource property

Gets the URL of the source item from which this item was copied, if the item results from a copy operation.

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

Syntax

'Declaration
Public ReadOnly Property CopySource As String
    Get
'Usage
Dim instance As SPListItem
Dim value As String

value = instance.CopySource
public string CopySource { get; }

Property value

Type: System.String
A string that contains the source item URL.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace