ForLoop Members
- Updated2023-02-21
- 4 minute(s) read
The ForLoop type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddStatement | Adds the specified statement to the end of the loop body. (Inherited from AbstractLoop.) | |
| ClearStatements | Clears all statements from the loop. (Inherited from AbstractLoop.) | |
| Clone | Creates a new object that is a copy of the current instance. (Inherited from BaseNode.) | |
| Equals | Overloaded.
Determines whether the specified other object is equal to the current instance of ForLoop.
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a ForLoop object. The hash code this method returns is suitable for use in hashing algorithms and data structures like a hash table. (Overrides Statement.GetHashCode().) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AutoYield | Gets or sets whether the loop automatically yields control of the CPU to the next task at the end of each iteration. (Inherited from AbstractLoop.) | |
| Body | Gets or sets the set of statements that execute in the loop. (Inherited from AbstractLoop.) | |
| Description | Gets or sets the description of the node that appears in the Property Browser when you select the node in the Stimulus Profile Editor. (Inherited from BaseNode.) | |
| Iterations | Gets or sets the expression that represents the number of iterations the loop executes. | |
| LoopVariable | Gets or sets the identifier for the variable that holds the current iteration count for the ForLoop. | |
| ResXKey |
Gets or sets the ResX key for the node, which is a pointer to a .resx file that contains a context help description for the node.
(Inherited from BaseNode.) |
Events
| Name | Description | |
|---|---|---|
| PropertyChanged | Occurs when a property value changes. (Inherited from BaseNode.) |