CodeIterationStatement::InitStatement Property
.NET Framework (current version)
Gets or sets the loop initialization statement.
Assembly: System (in System.dll)
public: property CodeStatement^ InitStatement { CodeStatement^ get(); void set(CodeStatement^ value); }
Property Value
Type: System.CodeDom::CodeStatement^A CodeStatement that indicates the loop initialization statement.
You can specify an empty initialization statement by setting this property to a CodeExpressionStatement that contains a CodeSnippetExpression that contains an empty string.
.NET Framework
Available since 1.1
Available since 1.1
Show: