SyntaxGenerator.DefaultSwitchSection(IEnumerable<SyntaxNode>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une section par défaut pour une instruction 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
Paramètres
- statements
- IEnumerable<SyntaxNode>