Share via


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)

Syntax

'Declaration
<ObsoleteAttribute("This member is obsolete.", False)> _
Public ReadOnly Property SourceLeafName As String
    Get
'Usage
Dim instance As SPFile
Dim value As String

value = instance.SourceLeafName
[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.

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace