Export (0) Print
Expand All

CodeIterationStatement.TestExpression Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft