Constructor SmartInteger
SmartInteger(SmartIntegerType, int?, ElementId, ItemLabel, string)
Initializes a new instance of the SmartInteger class.
Declaration
public SmartInteger(SmartIntegerType inType, int? inValue, ElementId inElementId, ItemLabel inItemLabel, string inFormula)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartIntegerType | inType | Type of smart integer. |
| int? | inValue | Value, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
| string | inFormula | Formula, or null for none. |
SmartInteger(SmartIntegerType, int?, ElementId, ItemLabel, string, ScriptType)
Initializes a new instance of the SmartInteger class.
Declaration
public SmartInteger(SmartIntegerType inType, int? inValue, ElementId inElementId, ItemLabel inItemLabel, string inFormula, ScriptType inScriptType)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartIntegerType | inType | Type of smart integer. |
| int? | inValue | Value, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
| string | inFormula | Formula, or null for none. |
| ScriptType | inScriptType | ScripType |
SmartInteger(int)
Initializes a new instance of the SmartInteger class of type Basic.
Declaration
public SmartInteger(int inValue)
Parameters
| Type | Name | Description |
|---|---|---|
| int | inValue | Value. |
SmartInteger(ElementId)
Initializes a new instance of the SmartInteger class of type Element.
Declaration
public SmartInteger(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
SmartInteger(ElementId, ItemLabel)
Initializes a new instance of the SmartInteger class of type Item.
Declaration
public SmartInteger(ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |
SmartInteger(string)
Initializes a new instance of the SmartInteger class of type Formula.
Declaration
public SmartInteger(string inFormula)
Parameters
| Type | Name | Description |
|---|---|---|
| string | inFormula | Formula. |
SmartInteger(string, ScriptType)
Initializes a new instance of the SmartInteger class of type Formula.
Declaration
public SmartInteger(string inFormula, ScriptType inScriptType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | inFormula | Formula. |
| ScriptType | inScriptType | ScripType |