ערוך

שתף באמצעות


CodeIterationStatement Constructors

Definition

Initializes a new instance of the CodeIterationStatement class.

Overloads

CodeIterationStatement()

Initializes a new instance of the CodeIterationStatement class.

CodeIterationStatement(CodeStatement, CodeExpression, CodeStatement, CodeStatement[])

Initializes a new instance of the CodeIterationStatement class using the specified parameters.

CodeIterationStatement()

Source:
CodeIterationStatement.cs
Source:
CodeIterationStatement.cs
Source:
CodeIterationStatement.cs

Initializes a new instance of the CodeIterationStatement class.

public:
 CodeIterationStatement();
public CodeIterationStatement ();
Public Sub New ()

Applies to

CodeIterationStatement(CodeStatement, CodeExpression, CodeStatement, CodeStatement[])

Source:
CodeIterationStatement.cs
Source:
CodeIterationStatement.cs
Source:
CodeIterationStatement.cs

Initializes a new instance of the CodeIterationStatement class using the specified parameters.

public:
 CodeIterationStatement(System::CodeDom::CodeStatement ^ initStatement, System::CodeDom::CodeExpression ^ testExpression, System::CodeDom::CodeStatement ^ incrementStatement, ... cli::array <System::CodeDom::CodeStatement ^> ^ statements);
public CodeIterationStatement (System.CodeDom.CodeStatement initStatement, System.CodeDom.CodeExpression testExpression, System.CodeDom.CodeStatement incrementStatement, params System.CodeDom.CodeStatement[] statements);
new System.CodeDom.CodeIterationStatement : System.CodeDom.CodeStatement * System.CodeDom.CodeExpression * System.CodeDom.CodeStatement * System.CodeDom.CodeStatement[] -> System.CodeDom.CodeIterationStatement
Public Sub New (initStatement As CodeStatement, testExpression As CodeExpression, incrementStatement As CodeStatement, ParamArray statements As CodeStatement())

Parameters

initStatement
CodeStatement

A CodeStatement containing the loop initialization statement.

testExpression
CodeExpression

A CodeExpression containing the expression to test for exit condition.

incrementStatement
CodeStatement

A CodeStatement containing the per-cycle increment statement.

statements
CodeStatement[]

An array of type CodeStatement containing the statements within the loop.

See also

Applies to