SyntaxEditorExtensions.InsertParameter 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 InsertParameter(Microsoft::CodeAnalysis::Editing::SyntaxEditor ^ editor, Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, Microsoft::CodeAnalysis::SyntaxNode ^ parameter);
public static void InsertParameter (this Microsoft.CodeAnalysis.Editing.SyntaxEditor editor, Microsoft.CodeAnalysis.SyntaxNode declaration, int index, Microsoft.CodeAnalysis.SyntaxNode parameter);
static member InsertParameter : Microsoft.CodeAnalysis.Editing.SyntaxEditor * Microsoft.CodeAnalysis.SyntaxNode * int * Microsoft.CodeAnalysis.SyntaxNode -> unit
<Extension()>
Public Sub InsertParameter (editor As SyntaxEditor, declaration As SyntaxNode, index As Integer, parameter As SyntaxNode)
Parameters
- editor
- SyntaxEditor
- declaration
- SyntaxNode
- index
- Int32
- parameter
- 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.