FittingModelOutput SetResult Method (IEnumerable String ,  ResultValue ) TIBCO Spotfire 6.0 API Reference
Sets the result of this curve fit operation, containing the specified values, and with the specified warnings attached to each of them.

Namespace: Spotfire.Dxp.Application.Visuals.FittingModels
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void SetResult(
	IEnumerable<string> warnings,
	params ResultValue[] values
)

Parameters

warnings
Type: System.Collections.Generic IEnumerable String 
The warnings.
values
Type:  Spotfire.Dxp.Application.Visuals.FittingModels ResultValue 
The values.
Exceptions

ExceptionCondition
System ArgumentException Thrown if any warning is empty.
System ArgumentException Thrown if the result value count differs from the result variable count.
System ArgumentException Thrown if any result value type differs from the corresponding result variable type.
System ArgumentException Thrown if any result variable is already assigned.
See Also