SPFile.SourceLeafName property

NOTE: This API is now obsolete.

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

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

[ObsoleteAttribute("This member is obsolete.", false)]
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.