Constructor SmartBoolean
SmartBoolean(SmartBooleanType, bool?, ElementId, ItemLabel, string)
Initializes a new instance of the SmartBoolean class.
Declaration
public SmartBoolean(SmartBooleanType inType, bool? inValue, ElementId inElementId, ItemLabel inItemLabel, string inFormula)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartBooleanType | inType | Type of smart Boolean. |
| bool? | 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. |
SmartBoolean(SmartBooleanType, bool?, ElementId, ItemLabel, string, ScriptType)
Initializes a new instance of the SmartBoolean class.
Declaration
public SmartBoolean(SmartBooleanType inType, bool? inValue, ElementId inElementId, ItemLabel inItemLabel, string inFormula, ScriptType inScriptType)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartBooleanType | inType | Type of smart Boolean. |
| bool? | 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 |
SmartBoolean(bool)
Initializes a new instance of the SmartBoolean class of type Basic.
Declaration
public SmartBoolean(bool inValue)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | inValue | Value. |
SmartBoolean(ElementId)
Initializes a new instance of the SmartBoolean class of type Element.
Declaration
public SmartBoolean(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
SmartBoolean(ElementId, ItemLabel)
Initializes a new instance of the SmartBoolean class of type Item.
Declaration
public SmartBoolean(ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |
SmartBoolean(string)
Initializes a new instance of the SmartBoolean class of type Formula.
Declaration
public SmartBoolean(string inFormula)
Parameters
| Type | Name | Description |
|---|---|---|
| string | inFormula | Formula. |
SmartBoolean(string, ScriptType)
Initializes a new instance of the SmartBoolean class of type Formula.
Declaration
public SmartBoolean(string inFormula, ScriptType inScriptType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | inFormula | Formula. |
| ScriptType | inScriptType | ScripType |