SPFile.SourceFile property

NOTE: This API is now obsolete.

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

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

Syntax

'Declaration
<ObsoleteAttribute("This member is obsolete.", False)> _
Public ReadOnly Property SourceFile As SPFile
    Get
'Usage
Dim instance As SPFile
Dim value As SPFile

value = instance.SourceFile
[ObsoleteAttribute("This member is obsolete.", false)]
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.

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace