Share via


SPFileVersion.File property

Gets the parent file object for the version.

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

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