SyntaxGenerator.ReplaceRange Method

Definition

protected:
 static Microsoft::CodeAnalysis::SyntaxNode ^ ReplaceRange(Microsoft::CodeAnalysis::SyntaxNode ^ root, Microsoft::CodeAnalysis::SyntaxNode ^ node, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ replacements);
protected static Microsoft.CodeAnalysis.SyntaxNode ReplaceRange (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.SyntaxNode node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> replacements);
static member ReplaceRange : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Protected Shared Function ReplaceRange (root As SyntaxNode, node As SyntaxNode, replacements As IEnumerable(Of SyntaxNode)) As SyntaxNode

Parameters

root
SyntaxNode
node
SyntaxNode
replacements
IEnumerable<SyntaxNode>

Returns

Applies to