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
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Function ReadText ( _
	context As , _
	path As  _
) As 

Parameters

context
IContext
Context object.
path
String
Name of the file.

Return Value

A string containing the file contents.

See Also

Advanced