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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.