SPFile.SourceFile Property
Gets the parent file object of the file that was created through document transforms.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property SourceFile As SPFile
Get
'Usage
Dim instance As SPFile
Dim value As SPFile
value = instance.SourceFile
public SPFile SourceFile { get; }
Property Value
Type: Microsoft.SharePoint.SPFile
An SPFile object that represents the parent file object, or a null reference (Nothing in Visual Basic) if the file was not created through document transforms.