Compartilhar via


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

Syntax

'Declaration
Public ReadOnly Property SourceLeafName As String
    Get
'Usage
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