共用方式為


SyntaxGenerator.GetStatements(SyntaxNode) Method

Definition

Gets the statements for the body of the declaration.

public:
 abstract System::Collections::Generic::IReadOnlyList<Microsoft::CodeAnalysis::SyntaxNode ^> ^ GetStatements(Microsoft::CodeAnalysis::SyntaxNode ^ declaration);
public abstract System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.SyntaxNode> GetStatements (Microsoft.CodeAnalysis.SyntaxNode declaration);
abstract member GetStatements : Microsoft.CodeAnalysis.SyntaxNode -> System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.SyntaxNode>
Public MustOverride Function GetStatements (declaration As SyntaxNode) As IReadOnlyList(Of SyntaxNode)

Parameters

declaration
SyntaxNode

Returns

Applies to