Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

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.
Show:
© 2015 Microsoft