Class SmartInteger
Represents a smart integer value.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 6, 0, 0)]
public class SmartInteger : SmartObject
Remarks
This class is available since v7.6.
Constructors
SmartInteger(Int32)
Initializes a new instance of the SmartInteger class of type Basic.
Declaration
public SmartInteger(int inValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | inValue | Value. |
SmartInteger(String)
Initializes a new instance of the SmartInteger class of type Formula.
Declaration
public SmartInteger(string inFormula)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.String | inFormula | Formula. |
ScriptType | inScriptType | ScripType |
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(SmartIntegerType, Nullable<Int32>, 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. |
System.Nullable<System.Int32> | 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. |
SmartInteger(SmartIntegerType, Nullable<Int32>, 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. |
System.Nullable<System.Int32> | 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 integer.
Declaration
public SmartIntegerType Type
Field Value
Type | Description |
---|---|
SmartIntegerType |
Value
Value, or null if unknown.
Declaration
public int? Value
Field Value
Type | Description |
---|---|
System.Nullable<System.Int32> |