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.
Sets the result of the macro.
used to override the normal handling of the result creation.

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

Syntax

C#Copy imageCopy Code
[(Name = "SetForcedResult")]
public void SetForcedResult(
	string value,
	string responseType,
	bool useOutputDecoding,
	bool endResponse,
	bool useFileCache
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "SetForcedResult")> _
Public Sub SetForcedResult ( _
	value As , _
	responseType As , _
	useOutputDecoding As , _
	endResponse As , _
	useFileCache As  _
)

Parameters

value
String
The value to set the result to.
responseType
String
FileType code or MimeType string to set in the response.
Note that the response type can only be set from the root macro in the SXML structure.
useOutputDecoding
Boolean
if set to true [use output decoding].
endResponse
Boolean
if set to true, stops the current rendering.
useFileCache
Boolean
If set true true (default=false), file cache if written if a cachefile macro is specified and enabled on the page.

See Also

Module Class
Smartsite.Core Namespace
Advanced