Share via


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)

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.

See also

Reference

SPCopyDestination class

SPCopyDestination members

Microsoft.SharePoint namespace