共用方式為


SeparatedSyntaxList<TNode>.InsertRange 方法

定義

使用插入索引處的指定節點,建立新的清單。

public:
 Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> InsertRange(int index, System::Collections::Generic::IEnumerable<TNode> ^ nodes);
public Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> InsertRange (int index, System.Collections.Generic.IEnumerable<TNode> nodes);
member this.InsertRange : int * seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Function InsertRange (index As Integer, nodes As IEnumerable(Of TNode)) As SeparatedSyntaxList(Of TNode)

參數

index
Int32

要插入的索引處。

nodes
IEnumerable<TNode>

要插入的節點。

傳回

適用於