VPSimulationInputExtensions WithValue Method Virtual Photonics - VTS Library
Virtual Photonics
Method to overwrite data in SimulationInput. Used in MC CommandLineApplication paramsweep and paramsweepdelta.

Namespace: Vts.MonteCarlo.Extensions
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static SimulationInput WithValue(
	this SimulationInput data,
	string inputParameter,
	double value
)

Return Value

Type: SimulationInput
updated SimulationInput with new data

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SimulationInput. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also