SyntaxNode.RemoveNodesCore 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建删除指定节点的新节点树。
protected public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ RemoveNodesCore(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ nodes, Microsoft::CodeAnalysis::SyntaxRemoveOptions options);
protected internal abstract Microsoft.CodeAnalysis.SyntaxNode RemoveNodesCore (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> nodes, Microsoft.CodeAnalysis.SyntaxRemoveOptions options);
protected internal abstract Microsoft.CodeAnalysis.SyntaxNode? RemoveNodesCore (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> nodes, Microsoft.CodeAnalysis.SyntaxRemoveOptions options);
abstract member RemoveNodesCore : seq<Microsoft.CodeAnalysis.SyntaxNode> * Microsoft.CodeAnalysis.SyntaxRemoveOptions -> Microsoft.CodeAnalysis.SyntaxNode
Protected Friend MustOverride Function RemoveNodesCore (nodes As IEnumerable(Of SyntaxNode), options As SyntaxRemoveOptions) As SyntaxNode
参数
- nodes
- IEnumerable<SyntaxNode>
- options
- SyntaxRemoveOptions