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(
	 value,
	string responseType,
	bool endResponse
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "SetForcedResult")> _
Public Sub SetForcedResult ( _
	value As , _
	responseType As , _
	endResponse As  _
)

Parameters

value
Object
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.
endResponse
Boolean
if set to true, stops the current rendering.

See Also

Module Class
Smartsite.Core Namespace
Advanced