SyntaxGenerator.InsertSwitchSections Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Inserisce le sezioni switch nell'indice specificato nell'istruzione .
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ InsertSwitchSections(Microsoft::CodeAnalysis::SyntaxNode ^ switchStatement, int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ switchSections);
public abstract Microsoft.CodeAnalysis.SyntaxNode InsertSwitchSections (Microsoft.CodeAnalysis.SyntaxNode switchStatement, int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> switchSections);
abstract member InsertSwitchSections : Microsoft.CodeAnalysis.SyntaxNode * int * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function InsertSwitchSections (switchStatement As SyntaxNode, index As Integer, switchSections As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parametri
- switchStatement
- SyntaxNode
- index
- Int32
- switchSections
- IEnumerable<SyntaxNode>
Restituisce
Si applica a
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.