Gets or sets the loop initialization statement.
[Visual Basic] Public Property InitStatement As CodeStatement [C#] public CodeStatement InitStatement {get; set;} [C++] public: __property CodeStatement* get_InitStatement(); public: __property void set_InitStatement(CodeStatement*); [JScript] public function get InitStatement() : CodeStatement; public function set InitStatement(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.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
CodeIterationStatement Class | CodeIterationStatement Members | System.CodeDom Namespace