CodeConditionStatement.TrueStatements 属性

定义

获取在条件表达式计算为 true 时执行的语句集合。Gets the collection of statements to execute if the conditional expression evaluates to true.

public:
 property System::CodeDom::CodeStatementCollection ^ TrueStatements { System::CodeDom::CodeStatementCollection ^ get(); };
public System.CodeDom.CodeStatementCollection TrueStatements { get; }
member this.TrueStatements : System.CodeDom.CodeStatementCollection
Public ReadOnly Property TrueStatements As CodeStatementCollection

属性值

一个 CodeStatementCollection,它包含在条件表达式计算为 true 时执行的语句。A CodeStatementCollection containing the statements to execute if the conditional expression evaluates to true.

适用于

另请参阅