CodeIterationStatement.TestExpression Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the expression to test as the condition that continues the loop.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeExpression TestExpression { get; set; }

Property Value

Type: System.CodeDom.CodeExpression

A CodeExpression that indicates the expression to test.

If this expression resolves to true, the loop will continue.

.NET Framework
Available since 1.1
Return to top
Show: