SPFileVersionCollection.File property

Gets the parent file object for the collection.

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

Syntax

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

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

Property value

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

See also

Reference

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace