CodeIterationStatement.InitStatement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET