SPFile.SourceLeafName Property

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

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

Syntax

Public ReadOnly Property SourceLeafName As String
    Get

Dim instance As SPFile
Dim value As String

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