편집

다음을 통해 공유


CodeIterationStatement.InitStatement Property

Definition

Gets or sets the loop initialization statement.

public:
 property System::CodeDom::CodeStatement ^ InitStatement { System::CodeDom::CodeStatement ^ get(); void set(System::CodeDom::CodeStatement ^ value); };
public System.CodeDom.CodeStatement InitStatement { get; set; }
member this.InitStatement : System.CodeDom.CodeStatement with get, set
Public Property InitStatement As CodeStatement

Property Value

A CodeStatement that indicates the loop initialization statement.

Remarks

You can specify an empty initialization statement by setting this property to a CodeExpressionStatement that contains a CodeSnippetExpression that contains an empty string.

Applies to