共用方式為


SyntaxGenerator.DefaultSwitchSection(IEnumerable<SyntaxNode>) 方法

定義

建立 switch 語句的預設區段。

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ DefaultSwitchSection(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ statements);
public abstract Microsoft.CodeAnalysis.SyntaxNode DefaultSwitchSection (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> statements);
abstract member DefaultSwitchSection : seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function DefaultSwitchSection (statements As IEnumerable(Of SyntaxNode)) As SyntaxNode

參數

statements
IEnumerable<SyntaxNode>

傳回

適用於