This documentation is archived and is not being maintained.

SPFile.SourceFile Property

Windows SharePoint Services 3

Gets the parent file object of the file that was created through document transforms.

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

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.