PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns a string containing the contents of the file in the site's file system.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[]
public static string ReadText(
	 context,
	string path,
	 encoding
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Function ReadText ( _
	context As , _
	path As , _
	encoding As  _
) As 

Parameters

context
IContext
Context object.
path
String
Name of the file.
encoding
Encodings
Character encoding used in the file

Return Value

A string containing the file contents.

See Also

Advanced