CodeIterationStatement Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy CodeIterationStatement.

Przeciążenia

CodeIterationStatement()

Inicjuje nowe wystąpienie klasy CodeIterationStatement.

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

Inicjuje CodeIterationStatement nowe wystąpienie klasy przy użyciu określonych parametrów.

CodeIterationStatement()

Inicjuje nowe wystąpienie klasy CodeIterationStatement.

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

Dotyczy

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

Inicjuje CodeIterationStatement nowe wystąpienie klasy przy użyciu określonych parametrów.

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())

Parametry

initStatement
CodeStatement

Element CodeStatement zawierający instrukcję inicjowania pętli.

testExpression
CodeExpression

Element CodeExpression zawierający wyrażenie do testowania warunku zakończenia.

incrementStatement
CodeStatement

Instrukcja CodeStatement inkrementacji zawierająca instrukcję inkrementacji dla poszczególnych cykli.

statements
CodeStatement[]

Tablica typu CodeStatement zawierająca instrukcje w pętli.

Zobacz też

Dotyczy