パラメータを指定して、CodeIterationStatement クラスの新しいインスタンスを初期化します。
名前空間: System.CodeDom
アセンブリ: System (system.dll 内)
構文
'宣言
Public Sub New ( _
initStatement As CodeStatement, _
testExpression As CodeExpression, _
incrementStatement As CodeStatement, _
ParamArray statements As CodeStatement() _
)
'使用
Dim initStatement As CodeStatement
Dim testExpression As CodeExpression
Dim incrementStatement As CodeStatement
Dim statements As CodeStatement()
Dim instance As New CodeIterationStatement(initStatement, testExpression, incrementStatement, statements)
public CodeIterationStatement (
CodeStatement initStatement,
CodeExpression testExpression,
CodeStatement incrementStatement,
params CodeStatement[] statements
)
public:
CodeIterationStatement (
CodeStatement^ initStatement,
CodeExpression^ testExpression,
CodeStatement^ incrementStatement,
... array<CodeStatement^>^ statements
)
public CodeIterationStatement (
CodeStatement initStatement,
CodeExpression testExpression,
CodeStatement incrementStatement,
CodeStatement[] statements
)
public function CodeIterationStatement (
initStatement : CodeStatement,
testExpression : CodeExpression,
incrementStatement : CodeStatement,
... statements : CodeStatement[]
)
パラメータ
- initStatement
ループ初期化ステートメントを格納する CodeStatement。
- testExpression
終了条件をテストする対象となる式を格納する CodeExpression。
- incrementStatement
循環ごとに値が増加するステートメントを格納する CodeStatement。
- statements
ループ内のステートメントを格納する CodeStatement 型の配列。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
参照
関連項目
CodeIterationStatement クラス
CodeIterationStatement メンバ
System.CodeDom 名前空間
CodeStatement
CodeExpression クラス