VeriStand .NET API Reference

WhileLoop Members

The WhileLoop type exposes the following members.

NameDescription
WhileLoop
Overloaded. Initializes a new instance of WhileLoop with a LoopTest that evaluates to false (False in Visual Basic), meaning the loop does not execute.

Methods

NameDescription
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 obj, which must be a Statement object, is equal to the current instance of Statement.
FinalizeAllows 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 WhileLoop object. The hash code this method returns is suitable for use in hashing algorithms and data structures like a hash table. (Overrides Statement.GetHashCode().)
GetTypeGets the Type of the current instance. (Inherited from Object.)
MemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
ToStringReturns a String that represents the current Object. (Inherited from Object.)

Properties

NameDescription
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.)
LoopTest Gets or sets the Boolean expression that is evaluated to determine whether to execute the WhileLoop. The loop executes as long as this expression evaluates to true (True in Visual Basic).
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

NameDescription
PropertyChanged Occurs when a property value changes. (Inherited from BaseNode.)

See Also

Log in to get a better experience