Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

SPContext.File property

Gets the file that is associated with the list item object of the given Microsoft SharePoint Foundation context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public SPFile File { get; }

Property value

Type: Microsoft.SharePoint.SPFile
An SPFile object that represents the file.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.