Share via


SPFileVersion.File Property

Gets the parent file object for the version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property File As SPFile
    Get
'Usage
Dim instance As SPFileVersion
Dim value As SPFile

value = instance.File
public SPFile File { get; }

Property Value

Type: Microsoft.SharePoint.SPFile
An SPFile object that represents the parent file.

See Also

Reference

SPFileVersion Class

SPFileVersion Members

Microsoft.SharePoint Namespace