SyntaxEditorExtensions.InsertMembers 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.
public:
[System::Runtime::CompilerServices::Extension]
static void InsertMembers(Microsoft::CodeAnalysis::Editing::SyntaxEditor ^ editor, Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ members);
public static void InsertMembers (this Microsoft.CodeAnalysis.Editing.SyntaxEditor editor, Microsoft.CodeAnalysis.SyntaxNode declaration, int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> members);
static member InsertMembers : Microsoft.CodeAnalysis.Editing.SyntaxEditor * Microsoft.CodeAnalysis.SyntaxNode * int * seq<Microsoft.CodeAnalysis.SyntaxNode> -> unit
<Extension()>
Public Sub InsertMembers (editor As SyntaxEditor, declaration As SyntaxNode, index As Integer, members As IEnumerable(Of SyntaxNode))
Parameters
- editor
- SyntaxEditor
- declaration
- SyntaxNode
- index
- Int32
- members
- IEnumerable<SyntaxNode>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.