SyntaxGenerator.InsertParameters 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.
Inserts the parameters at the specified index into the declaration.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ InsertParameters(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ parameters);
public abstract Microsoft.CodeAnalysis.SyntaxNode InsertParameters (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> parameters);
abstract member InsertParameters : Microsoft.CodeAnalysis.SyntaxNode * int * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function InsertParameters (declaration As SyntaxNode, index As Integer, parameters As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- declaration
- SyntaxNode
- index
- Int32
- parameters
- IEnumerable<SyntaxNode>
Returns
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.