SyntaxEditor.InsertAfter 方法

定义

重载

InsertAfter(SyntaxNode, SyntaxNode)

在树中已存在的指定节点之后插入新节点。

InsertAfter(SyntaxNode, IEnumerable<SyntaxNode>)

在树中已存在的指定节点之后插入新节点。

InsertAfter(SyntaxNode, SyntaxNode)

Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs

在树中已存在的指定节点之后插入新节点。

public:
 void InsertAfter(Microsoft::CodeAnalysis::SyntaxNode ^ node, Microsoft::CodeAnalysis::SyntaxNode ^ newNode);
public void InsertAfter (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SyntaxNode newNode);
member this.InsertAfter : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> unit
Public Sub InsertAfter (node As SyntaxNode, newNode As SyntaxNode)

参数

node
SyntaxNode

该节点已存在于新节点之后的树中。 这必须是包含在语法列表中的节点。

newNode
SyntaxNode

要放置在现有节点之后的节点。 此节点必须是兼容类型,才能放置在包含现有节点的同一列表中。

适用于

InsertAfter(SyntaxNode, IEnumerable<SyntaxNode>)

Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs

在树中已存在的指定节点之后插入新节点。

public:
 void InsertAfter(Microsoft::CodeAnalysis::SyntaxNode ^ node, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ newNodes);
public void InsertAfter (Microsoft.CodeAnalysis.SyntaxNode node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> newNodes);
member this.InsertAfter : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> unit
Public Sub InsertAfter (node As SyntaxNode, newNodes As IEnumerable(Of SyntaxNode))

参数

node
SyntaxNode

该节点已存在于新节点之后的树中。 这必须是包含在语法列表中的节点。

newNodes
IEnumerable<SyntaxNode>

要放置在现有节点之后的节点。 这些节点必须是兼容类型,才能放置在包含现有节点的同一列表中。

适用于