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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.