Class SmartBoolean
Represents a smart Boolean value.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 6, 0, 0)]
public class SmartBoolean : SmartObject
Remarks
This class is available since v7.6.
Constructors
SmartBoolean(Boolean)
Initializes a new instance of the SmartBoolean class of type Basic.
Declaration
public SmartBoolean(bool inValue)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | inValue | Value. |
SmartBoolean(String)
Initializes a new instance of the SmartBoolean class of type Formula.
Declaration
public SmartBoolean(string inFormula)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.String | inFormula | Formula. |
ScriptType | inScriptType | ScripType |
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(SmartBooleanType, Nullable<Boolean>, 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. |
System.Nullable<System.Boolean> | 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. |
System.String | inFormula | Formula, or null for none. |
SmartBoolean(SmartBooleanType, Nullable<Boolean>, 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. |
System.Nullable<System.Boolean> | 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. |
System.String | inFormula | Formula, or null for none. |
ScriptType | inScriptType | ScripType |
Fields
ElementId
Providing element identifier, or empty if none.
Declaration
public ElementId ElementId
Field Value
Type | Description |
---|---|
ElementId |
Formula
Formula, or null if none.
Declaration
public string Formula
Field Value
Type | Description |
---|---|
System.String |
ItemLabel
Providing element item label, or empty if none.
Declaration
public ItemLabel ItemLabel
Field Value
Type | Description |
---|---|
ItemLabel |
ScriptType
Type of script.
Declaration
public ScriptType ScriptType
Field Value
Type | Description |
---|---|
ScriptType |
Type
Type of smart Boolean.
Declaration
public SmartBooleanType Type
Field Value
Type | Description |
---|---|
SmartBooleanType |
Value
Value, or null if unknown.
Declaration
public bool? Value
Field Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |