ICON Software Solutions
Icon.FileAccess.DisplayFile Method

Namespace:  Icon
Assembly:  Icon (in Icon.dll) Version: 2010.3.0.0 (2010.3.0.0)

Syntax

C#
public static void DisplayFile(
	string file,
	string ext
)
Visual Basic (Declaration)
Public Shared Sub DisplayFile ( _
	file As String, _
	ext As String _
)
Visual C++
public:
static void DisplayFile(
	String^ file, 
	String^ ext
)
J#
public static void DisplayFile(
	String file,
	String ext
)

Parameters

file
Type: System..::.String
The full file name of the file to be displayed.
ext
Type: System..::.String
The extension of the file. This is used to select the content type.

Remarks

Use this method to display a file in the response stream.

See Also