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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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