SingleLineElseClauseSyntax.Statements 属性

定义

要执行的语句列表。 多个语句必须用冒号分隔。

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)

属性值

注解

如果不存在任何内容,则返回空列表。

适用于