Integer Parameter(String, String, Int 32, Int 32, Int 32, Int 32, Cape Param Mode) 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)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public IntegerParameter(
string name,
string description,
int value,
int defaultValue,
int minValue,
int maxValue,
CapeParamMode mode
)VB
Public Sub New (
name As String,
description As String,
value As Integer,
defaultValue As Integer,
minValue As Integer,
maxValue As Integer,
mode As CapeParamMode
)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.