共用方式為


SPFileVersionCollection.File Property

Gets the parent file object for the collection.

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 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