UtilReasons.UtilReasData Constructor(Int32,String,Int32,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean)
- Last UpdatedNov 06, 2025
- 1 minute read
The UtilReasData() method is the constructor for the UtilReasons class.
'Declaration
Public Function New( _
ByVal stateCd As Integer, _
ByVal stateDesc As String, _
ByVal stateColor As Integer, _
ByVal runtime As Boolean, _
ByVal downtime As Boolean, _
ByVal setuptime As Boolean, _
ByVal teardowntime As Boolean, _
ByVal failuretime As Boolean, _
ByVal fixedtime As Boolean, _
ByVal vartime As Boolean _
)
public UtilReasons.UtilReasData(
int stateCd,
string stateDesc,
int stateColor,
bool runtime,
bool downtime,
bool setuptime,
bool teardowntime,
bool failuretime,
bool fixedtime,
bool vartime
)
Parameters
- stateCd
- Required. Holds the entity state code.
- stateDesc
- Required. Holds the entity state description.
- stateColor
- Required. Holds the entity state color.
- runtime
- Required. Holds a flag that , if set to true, indicates that this is a runtime entity.
- downtime
- Required. Holds a flag that , if set to true, indicates that this is a downtime entity.
- setuptime
- Required. Holds a flag that , if set to true, indicates that this is a setup-time entity.
- teardowntime
- Required. Holds a flag that , if set to true, indicates that this is a teardown-time entity.
- failuretime
- Required. Holds a flag that , if set to true, indicates that this is a failure-time entity.
- fixedtime
- Required. Holds a flag that , if set to true, indicates that this is a fixed-time entity.
- vartime
- Required. Holds a flag that , if set to true, indicates that this is a variable-time entity.