Export (0) Print
Expand All

SPFile.Web property

Gets the Web site where the file is located.

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

public SPWeb Web { get; }

Property value

Type: Microsoft.SharePoint.SPWeb
The Web site that contains the file.
Show:
© 2014 Microsoft