CodeConditionStatement::Condition Property

 

Gets or sets the expression to evaluate true or false.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public:
property CodeExpression^ Condition {
	CodeExpression^ get();
	void set(CodeExpression^ value);
}

Property Value

Type: System.CodeDom::CodeExpression^

A CodeExpression to evaluate true or false.

If this conditional expression evaluates to true, the code contained in the TrueStatements collection will be executed. If this conditional expression evaluates to false and the FalseStatements collection is not empty, the code contained in the FalseStatements collection will be executed.

.NET Framework
Available since 1.1
Return to top
Show: