SyntaxGenerator.ReplaceRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>