MethodBlockBaseSyntax.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)

属性值

注解

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

适用于