SyntaxGenerator.InsertAttributes 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.
Overloads
InsertAttributes(SyntaxNode, Int32, SyntaxNode[]) |
Creates a new instance of the declaration with the attributes inserted. |
InsertAttributes(SyntaxNode, Int32, IEnumerable<SyntaxNode>) |
Creates a new instance of the declaration with the attributes inserted. |
InsertAttributes(SyntaxNode, Int32, SyntaxNode[])
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a new instance of the declaration with the attributes inserted.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ InsertAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public Microsoft.CodeAnalysis.SyntaxNode InsertAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, params Microsoft.CodeAnalysis.SyntaxNode[] attributes);
member this.InsertAttributes : Microsoft.CodeAnalysis.SyntaxNode * int * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function InsertAttributes (declaration As SyntaxNode, index As Integer, ParamArray attributes As SyntaxNode()) As SyntaxNode
Parameters
- declaration
- SyntaxNode
- index
- Int32
- attributes
- SyntaxNode[]
Returns
Applies to
InsertAttributes(SyntaxNode, Int32, IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a new instance of the declaration with the attributes inserted.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ InsertAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public abstract Microsoft.CodeAnalysis.SyntaxNode InsertAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> attributes);
abstract member InsertAttributes : Microsoft.CodeAnalysis.SyntaxNode * int * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function InsertAttributes (declaration As SyntaxNode, index As Integer, attributes As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- declaration
- SyntaxNode
- index
- Int32
- attributes
- 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.