Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetFile method of the SPWeb class returns the file object located at the specified URL.
Parameters
strUrl A string that contains the URL for the file.
Return Value
A Microsoft.SharePoint.SPFile object that represents the file.
Remarks
The user must have the Browse Directories right to run code that uses the GetFile method.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security