共用方式為


SingleLineIfStatementSyntax.Statements 屬性

定義

條件運算式評估為 true 時所要執行的語句清單。 多個語句必須以冒號分隔。

public:
 property Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> Statements { Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> get(); };
public Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> Statements { get; }
member this.Statements : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax>
Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax)

屬性值

備註

如果沒有,則會傳回空的清單。

適用於