IntegerParameter(String, String, Int32, Int32, Int32, Int32, CapeParamMode) Constructor

Creates a new instance of the integer-valued parameter class using the values enterred.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public IntegerParameter(
	string name,
	string description,
	int value,
	int defaultValue,
	int minValue,
	int maxValue,
	CapeParamMode mode
)

Parameters

name  String
Sets as the ComponentName of the parameter's ICapeIdentification interface.
description  String
Sets as the ComponentDescription of the parameter's ICapeIdentification interface.
value  Int32
Sets the inital value of the parameter.
defaultValue  Int32
Sets the default value of the parameter.
minValue  Int32
Sets the lower bound of the parameter.
maxValue  Int32
Sets the upper bound of the parameter.
mode  CapeParamMode
Sets the CapeParamMode mode of the parameter.

Remarks

The default value, upper and lower bound, as well as the mode of the parameter are specified in this constructor.

See Also