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 GetFileAsString method of the SPWeb class returns the contents of the file object located at the specified URL as a string.
Parameters
url A string that specifies the URL for the file.
Return Value
A string that contains the contents of the file.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security