SPCopyDestination.LeafName Property
Gets the file name used when copying to the copy destination, usually the same name as the source file.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property LeafName As String
Get
'Usage
Dim instance As SPCopyDestination
Dim value As String
value = instance.LeafName
public string LeafName { get; }
Property Value
Type: System.String
A string that represents the name.
Remarks
The leaf name is the portion of a URL that follows the URL of the destination folder.