共用方式為


ForBlockSyntax.Statements 屬性

定義

For 或 For Each 迴圈中包含的語句。 這可能是空的清單。

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)

屬性值

備註

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

適用於