Compartilhar via


GetFileAsString Method

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