CodeConditionStatement Constructor (CodeExpression^, array<CodeStatement^>^)
.NET Framework (current version)
Initializes a new instance of the CodeConditionStatement class using the specified condition and statements.
Assembly: System (in System.dll)
public: CodeConditionStatement( CodeExpression^ condition, ... array<CodeStatement^>^ trueStatements )
Parameters
- condition
-
Type:
System.CodeDom::CodeExpression^
A CodeExpression that indicates the expression to evaluate.
- trueStatements
-
Type:
array<System.CodeDom::CodeStatement^>^
An array of type CodeStatement containing the statements to execute if the condition is true.
.NET Framework
Available since 1.1
Available since 1.1
Show: