SPFile.SourceLeafName Property

Gets the leaf name of the parent document for the file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public string SourceLeafName { get; }

Property Value

Type: System.String
A string that contains the leaf name, or an empty string if the document does not have a parent.
Show: